Interfacing an I2C GPIO expander (MCP23017) to the Raspberry Pi using C++ (SYSFS)

Hertaville posted a detailed tutorial on interfacing the MCP23017 to the Raspberry Pi using C++ (SYSFS): In this blog entry I will demonstrate how to successfully interface the MCP23017 general purpose input/output (GPIO) expander from Microchip, to the Raspberry Pi over the I2C bus.

MCP23017 I2C IO expander breakout board

Jechavarria has designed this breakout board with the MCP23017 I2C IO expander: With this board you can drive a 2×16 display LCD with only two signals (I2C). I also develop some code (in C) to manage this device, based on a AT89C51RE2 microcontroller. Please feel free to visit www.jechavarria.com for more info, schemes, and source […]