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.


C-Aware IDE Demo
Textbook to Learn C for PIC
C Workshop Compiler