PortExpanderI2C Library to use I2C as an port expander You can use this library to expand more 8 ports on your arduino. Docs To get the documentation of the lib see docs I2C Chip