If a second argument is given to SPI.send, it's assumed to be a chip select pin. 0xf800 & 255 = 0 = A0 so it'll be turning A0 on and off when you're sending via SPI :)
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.
Try
spi.send([c>>8,c]);
:)If a second argument is given to SPI.send, it's assumed to be a chip select pin.
0xf800 & 255 = 0 = A0
so it'll be turning A0 on and off when you're sending via SPI :)Note that you could use it to your advantage: