Have you updated the SPI initialisation code to initialise B4 to miso? In the original code you gave, you don't do that.
If you specify some SPI pins but not others, only the SPI pins that you specify get set up - and if you don't specify an input then it'll probably just read 1s in - regardless of what the actual input is doing.
In the graph you sent, I don't see any data coming from the chip. Is that intentional?
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.
Have you updated the SPI initialisation code to initialise B4 to miso? In the original code you gave, you don't do that.
If you specify some SPI pins but not others, only the SPI pins that you specify get set up - and if you don't specify an input then it'll probably just read 1s in - regardless of what the actual input is doing.
In the graph you sent, I don't see any data coming from the chip. Is that intentional?