-->
Page 1 of 1

nodemcu SPI

PostPosted: Tue Jan 27, 2015 7:27 pm
by Rocketman
Hi, when I use this line do I need to assign the pins for SPI?

Code: Select allspi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, spi.DATABITS_8, 0);


Or is it gonna use these pins on the nodemcu devkit?

CS -> IO15,
MOSI -> IO13,
MISO -> IO12,
CK -> IO14

Trying to get a connection to a Teensy, with no luck so far.

Re: nodemcu SPI

PostPosted: Tue Jan 27, 2015 9:12 pm
by quantalume
Are you running the Teensy as an SPI slave? What code are you running on the Teensy? Maybe you might try a simple SPI slave device first.