Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By erhardd
#29810 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!
User avatar
By erhardd
#29911 If you want to build the STMPE-Expander:
https://www.mikrocontroller.net/topic/374780#4244966
you have to split the cs-line on the Adapter(1x CS for each Chip) to free Pin on header(most right)!
I have not updated that.
(Please, no questions in "mikrocontroller.net/forum", because I have left it)