It doesn't matter what you send - the data you send is sent out over the MOSI pin - you have only defined a miso pin, so that 0x00 or 0xwhatever that you send out isn't going anywhere. It doesn't have to, though. You're only "sending" something in order to cause it to run the sck pin to clock out the data.
Ugh, typed this hours ago, but by the time I saw I hadn't submitted it, Gordon had beaten me.
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.
It doesn't matter what you send - the data you send is sent out over the MOSI pin - you have only defined a miso pin, so that 0x00 or 0xwhatever that you send out isn't going anywhere. It doesn't have to, though. You're only "sending" something in order to cause it to run the sck pin to clock out the data.
Ugh, typed this hours ago, but by the time I saw I hadn't submitted it, Gordon had beaten me.