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 to communicate, 2 pins are required to interface
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. BSD license, check license.txt for more information All text above must be included in any redistribution
To install, use the Arduino Library Manager and search for "Adafruit xCA9554" and install the library.