Can you confirm that it is possible to use two expanders with this library by creating two instances using the constructor MCP23S08(uint8_t csPin, uint8_t deviceAddr) to define the two different CS_pins and device addresses?
Answered for anyone else.
Up to four chips can be used on the one CS_pin usiing the chips individual addresses which are externally set using their pins A1 and A0.
Hello Julian,
Thank you for your library.
Can you confirm that it is possible to use two expanders with this library by creating two instances using the constructor MCP23S08(uint8_t csPin, uint8_t deviceAddr) to define the two different CS_pins and device addresses?
Thanks
Geoff