Help with NodeMCU project
Posted: Fri May 08, 2020 4:49 pm
Hi, sorry if this is the wrong place to post this. I am trying to hook up a TOLED(See below*) with the NodeMCU Esp8266. I have everything hooked up accordingly to when I had it connected to an Arduino Nano. CS and DC are hooked up to a couple of unused GPIO pins, and SCK and MOSI are hooked up to digital SPI pins 7 & 5 respectively on the NodeMCU. The display doesn't turn on, but is still receiving power. I think this is an issue with SPI connection or pin definition(I could be very wrong on that). Is there a rule of thumb I am missing on how to declare pins? I have my code attached, thanks!
*https://learn.sparkfun.com/tutorials/transparent-graphical-oled-breakout-hookup-guide
*https://learn.sparkfun.com/tutorials/transparent-graphical-oled-breakout-hookup-guide