That's weird. So I started again from scratch, hence the pulling all the wires out and making sure I had got the physical connections correct.
@TrapperBob, I tried swapping the MISO and MOSI but that is definitely not it. Definitely worth a try though!
I setup a setWatch on the IRQ pin to log to the console when the state changes (rising and falling).
Now when I send multiple commands I am receiving plenty of IRQ level changes on the console. I'm sure this wasn't working before and as far as I can understand this is proof that the Espruino is at least talking to the module and it is responding correctly??
Looking at the Arduino libraries for the RFM12B, I think quite a bit of the code is related to some sort of software SPI. We don't have to worry about this on the Espruino :)
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.
That's weird. So I started again from scratch, hence the pulling all the wires out and making sure I had got the physical connections correct.
@TrapperBob, I tried swapping the MISO and MOSI but that is definitely not it. Definitely worth a try though!
I setup a setWatch on the IRQ pin to log to the console when the state changes (rising and falling).
Now when I send multiple commands I am receiving plenty of IRQ level changes on the console. I'm sure this wasn't working before and as far as I can understand this is proof that the Espruino is at least talking to the module and it is responding correctly??
Looking at the Arduino libraries for the RFM12B, I think quite a bit of the code is related to some sort of software SPI. We don't have to worry about this on the Espruino :)