mcp23s17 portexpander for esp8266
Posted: Thu Sep 24, 2015 4:11 pm
MetalPhreak wrote an excellent SPI-Driver only I am a bit overwhelmed from these possiblities.
If I need the speed I will take it.
https://github.com/MetalPhreak
I found this:
https://github.com/n0mjs710/MCP23S17
-and with a little change in MCP23S17.cpp (with notepad etc.)
all PORTB &= 0b11111011; to digitalWrite(SS,LOW); and
PORTB |= 0b00000100; to digitalWrite(SS,HIGH);
(4 times)
it compiles by the Arduino-IDE with esp_addon;
- here is the PCB I used
https://www.mikrocontroller.net/topic/374780#4253148
(Please, no questions in this forum, because I have left it)
https://github.com/n0mjs710/MCP23S17/bl ... -Test2.png
in the picture the supply must be 3,3V!
If I need the speed I will take it.
https://github.com/MetalPhreak
I found this:
https://github.com/n0mjs710/MCP23S17
-and with a little change in MCP23S17.cpp (with notepad etc.)
all PORTB &= 0b11111011; to digitalWrite(SS,LOW); and
PORTB |= 0b00000100; to digitalWrite(SS,HIGH);
(4 times)
it compiles by the Arduino-IDE with esp_addon;
- here is the PCB I used
https://www.mikrocontroller.net/topic/374780#4253148
(Please, no questions in this forum, because I have left it)
https://github.com/n0mjs710/MCP23S17/bl ... -Test2.png
in the picture the supply must be 3,3V!