PCF8575 I2C 16-Bit GPIO Expander: ESP32/Arduino Wiring + Tested Code

Understanding the Adafruit_PCF8575 Button Example Microcontrollers never seem to have enough pins. That’s where the PCF8575 comes in: a simple I²C 16-bit GPIO expander that gives you 16 extra digital pins using only 2 wires (SDA/SCL). The Adafruit example you…









