MCP23008 interface with PIC16F877A
PIC16F877A interfacing with MCP23008 + Proteus Simulation
This post provides how to interface MCP23008 with the PIC16F877a microcontroller. This code is written in C language using MPLAB X IDE V3.30 with the XC8 compiler. You can download this code from the 'Downloads' section at the bottom of this page.
It is assumed that you know the basics of I2C communication. If you don't then please read this link before proceeding with this article.