Quick update: I got it to work. Turned out I did not explicitly set the CS (nss) pin while writing data.
If the last argument is a pin, it is taken to be the NSS pin
@Raik 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.
Quick update: I got it to work. Turned out I did not explicitly set the CS (nss) pin while writing data.