In this chapter, we look at using serial communication protocols. The most ubiquitous of these are USART, SPI, and I2C, which I will be explaining in this chapter. This is one chapter you do not want to skip, as we cover using sensors, GPS, GSM, and a host of other things. So, grab a bottle of water and sit down. This will be a long one.
Using USART (Universal Synchronous Asynchronous Receiver Transmitter)
The Universal Synchronous Asynchronous Receiver Transmitter (USART) is my favorite communication protocol. The reason ...