© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
H. WardIntroductory Programs with the 32-bit PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-9051-4_7

7. The I2C Communication

Hubert Ward1  
(1)
Leigh, UK
 

The I2C Protocol

In the last chapter, we looked at using the SPI module of the PIC. This is probably the simplest method of serial communication, as it does not use a protocol. In this chapter, we will look at a process, which does use an industrial protocol, that is termed I2C. We will also study how we can use an I2C expander module and program it, with the 32-bit PIC, to send messages to an LCD.

After reading this chapter, you will be able to use the I2C module of the 32-bit PIC to control an LCD ...

Get Introductory Programs with the 32-bit PIC Microcontroller: A Line-by-Line Code Analysis and Reference Guide for Embedded Programming in C 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.