Microchip MCP23s17
Posted: Fri Nov 27, 2015 9:22 am
I have recently added ESP8266 support to my gpio_MCP23S17 SPI library. It uses standard SPI library and uses SPI Transaction where applicable, it support all the features of the chip included HAEN that allow you connect 8 of this chip using the same SPI lines (included CS), giving you 16x8=128 extra I/O with 3(4 with input) wires but leaving 2(or 3 if you use MISO) wires still usable for other stuff.
https://github.com/sumotoy/gpio_MCP23S17
This is an extract of my other library on github that is able to drive at list 25 other GPIO expander from different brands, I2C or SPI and I will adapt soon for use with ESP8266.
The library can be easily included in other libraries and has many examples.
https://github.com/sumotoy/gpio_MCP23S17
This is an extract of my other library on github that is able to drive at list 25 other GPIO expander from different brands, I2C or SPI and I will adapt soon for use with ESP8266.
The library can be easily included in other libraries and has many examples.