nodemcu and SPI

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
critter
Posts: 1
Joined: Fri Mar 10, 2017 8:04 pm

nodemcu and SPI

Post by critter » Fri Mar 10, 2017 8:17 pm

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?

Post Reply