TWI Interrupt
摘要
In this chapter, we will delve deep into the world of I2C, also known as the Two-Wire Interface, TWI, in the Arduino world. This is quite a complicated system in which to use interrupts, but it can be done. This chapter starts easily with a discussion on device addresses – which occasionally can lead to confusion – followed by a simple polled example.