Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! Written by ladyada for Adafruit Industries.
This is the Adafruit xCA9554 8-channel GPIO expander library, which works with both TCA9554 and PCA9554. These chips can act as push-pull outputs or inputs with very light pull-ups. This chip uses I2C ...