© Armstrong Subero 2018
Armstrong SuberoProgramming PIC Microcontrollers with XC8https://doi.org/10.1007/978-1-4842-3273-6_9

9. USART, SPI, and I2C: Serial Communication Protocols

Armstrong Subero
(1)
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.

Using USART (Universal Synchronous Asynchronous Receiver Transmitter)

The Universal Synchronous Asynchronous Receiver Transmitter (USART) is my favorite communication protocol. The reason ...

Get Programming PIC Microcontrollers with XC8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.