Thanks! Actually you might find software SPI easier. Just do:
var spi = new SPI(); spi.setup({ sck:D14, miso:D12, mosi:D13 }); // or whatever pins ...connect({spi:spi...
And then you can use any pins.
To do a quick check, you could also try shorting MISO to MOSI (without the module attached) and running spi.send("Hello") - Hello should get returned.
spi.send("Hello")
Hello
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks! Actually you might find software SPI easier. Just do:
And then you can use any pins.
To do a quick check, you could also try shorting MISO to MOSI (without the module attached) and running
spi.send("Hello")
-Hello
should get returned.