well it should work with demo above, i have 8 chips running on a T4.0 on SPI with pin 10 as CS
if it's wired and configured properly, mcp.info() will detect it
Does anyone know of a library like this for the I2C version of these expanders? I can no longer get the SPI version, but can get the i2c version. I would like to just redesign the board and change a bit of the code, instead of a large rewrite. crossing my fingers. Thank you in advance for your help