Yes the command you mentioned did that. Using var spi = new SPI(); instead worked for some reason with the swapped MISO / MOSI settings... I changed my wiring, so now it perfectly works with SPI2.setup(...)
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.
Yes the command you mentioned did that. Using var spi = new SPI(); instead worked for some reason with the swapped MISO / MOSI settings... I changed my wiring, so now it perfectly works with SPI2.setup(...)