September 2021
Intermediate to advanced
733 pages
12h 17m
English
In this chapter, we are going to look at using the I2C communication protocol. We will study the 24LC256, a serial EEPROM that uses I2C, and the TC74, a temperature sensor that also uses the I2C protocol. We will create a program that will communicate with both these devices using the PIC as the master device.
After reading this chapter, you will know how the I2C protocol works and how to set it up with the PIC. You will also learn how to use the TC74 temperature sensor and how to use the ...