Frequently Asked Questions

How does the PIC® MCU connect to an I2C device?

Two I/O lines are required for I2C. Both lines must have pull up resisters. Often the I2C device will have a H/W selectable address. The address set must match the address in S/W. The example programs all assume the selectable address lines are grounded.

PIC® MCU I2C

C-Aware IDE Demo
Embedded C Learners Kit
C Workshop Compiler