Did you use 2 (or more) I/O expanders? (MCP23017)

If you had a look at the Adafruit_MCP23017.h, you would have seen this void begin(uint8_t addr); constructor that takes the address your object should refer to.
Create one object per chip and just do the stuff you’d do with a single one.

3 Likes