I don't see there's much of a problem - MOSI is an output and MISO is an input, so they can be connected fine. I do it all the time to test SPI as it echoes back what was sent.
I have done the trick with the resistor and SPI in the past to communicate with the ADNS5050
Using send4bit will work for transmit, but doesn't receive so it won't help you to get the result back...
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.
I don't see there's much of a problem - MOSI is an output and MISO is an input, so they can be connected fine. I do it all the time to test SPI as it echoes back what was sent.
I have done the trick with the resistor and SPI in the past to communicate with the ADNS5050
Using
send4bit
will work for transmit, but doesn't receive so it won't help you to get the result back...