PU2CLR MCP23008 Arduino Library  1.0.7
Arduino Library for MCP23008 Device - By Ricardo Lima Caratti
MCP23008 Arduino Library implementation

It is a Library to control the MCP23008 device. This library was built based on the Datasheet "MCP23008 8-Bit I/O Expander with Serial Interface" from Microchip

The MCP23008 device provides 8-bit, general purpose, parallel I/O expansion. It can be controlled via I²C bus applications. It is a great and inexpensive device that allow you to add more peripherals to be controlled by your Arduino board via I²C protocol.

Some Arduino projects may require more pins than the Arduino actually has. In these cases, you can use up to 8 MCP23008 devices using only the I²C bus (two Arduino pins) and add up to 64 input / output ports to your project.

This library can be freely distributed using the MIT Free Software model.

This library uses the I²C communication protocol and implements most important functions offered by MCP23008 device from MicroChip. It also has primitive functions that make it easier to implement commands that may not have been implemented yet. The main features implemented can be seen below:

1) GPIO individual control (8 I/O pins)

2) Reading and writing Access to all registers (0x00 ~ 0xA)

3) Internal pull up GPIO resistors control

4) I²C address customization (0x20 ~ 0x27)

5) Internal Interrupt feature setup

6) Reset control

Author
Ricardo LIma Caratti (pu2cl.nosp@m.r@gm.nosp@m.ail.c.nosp@m.om)
Date
2021-01-06