© Armstrong Subero 2018Armstrong SuberoProgramming PIC Microcontrollers with XC8https://doi.org/10.1007/978-1-4842-3273-6_9
9. USART, SPI, and I2C: Serial Communication Protocols
Moruga, Trinidad and Tobago
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.
The Universal Synchronous Asynchronous Receiver Transmitter (USART) is my favorite communication protocol. The reason ...