Thanks for the suggestion @Frida. Unfortunately it still gives the same error:
This is what I saw in my two attempts, this time monitoring the CS and DI pins.
**First attempt**
I started by executing the following command to set the CS pin low:
B12.write(false);
I then followed this up with the file read command:
var f = require("fs").readFile("test.txt");
```
and saw the following on the scope:
Second attempt
This time I just ran the file read command and saw the following on the scope:
Conclusion
From this it seems the chip select pin is being set correctly.
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 for the suggestion @Frida. Unfortunately it still gives the same error:
B12.write(false);
var f = require("fs").readFile("test.txt");
```
and saw the following on the scope:
Second attempt
This time I just ran the file read command and saw the following on the scope:
Conclusion
From this it seems the chip select pin is being set correctly.
Any other ideas?