Page 1 of 1

nodemcu and SPI

Posted: Fri Mar 10, 2017 8:17 pm
by critter
I am having no luck with SPI on the nodemcu. Both the hardware and software examples from the esp8266/quickref.html fail to do anything interesting. They run without error, but none of the pins wiggle yet I can flip any of the same pins manually. What am I doing wrong?

Another confusing point is that I thought gpio12-14 were the hardware interface and sclk, miso, cs, and modi (or clk, sd0, cmd, sd1 on the board) were the software interface, but the first set is accessible with Pin but the second are not. In fact they appear to be disabled in the source code. Can anyone shed light here?