Quote Originally Posted by ecoli-557 View Post
This is a bit off topic as I am now asking for a chip recomendation. I am using multiple MCP23016s in a design and now I need more than the 8 which is addressable.
I looked into a PIC as a I2C slave (great examples) but I was wondering if anyone has used a chip like the 23016 but that has 4 address lines for a total of 16 I2C port expanders.
Otherwise I will start breadboarding the PIC I2C slave idea.
If this is not appropriate for this forum (as it is PICBasic/Pro), my apologies.
-Regards
If you're using the I2CREAD/I2CWRITE commands, just use a different clock pin for a different set of chips. Or maybe use one of the port expander as a chip select for the rest of the port expanders.