PIC Microcontoller Input / Output Methods

for I2C

NEW! RS-232 / I²C-Adapter & Parallel I/O Module

IIC can be implimented by onboard hardware (in the PIC's which contain such) or by "bit banging" or simulating in software the functions of the interface hardware.

Software methods are somewhat generic and can be ported from one system to another with minor adjustments. Unfortunatly, they do require that the controller process instructions much faster than would be required with a hardware implementation, so they may not be ideal for all applications

Harware solutions are specific to the processor used and seem to have been confusing for many people to use. Luckily, there are some working examples to start from:

See also: