-
• #2
I am calling it a day now... I figured out the problem. After trying 3 espruinos and multiple NRF modules I kept getting 255 on one board and 30 on the other board. I read somewhere that the 255 was an issue with maybe the MOSI but I checked wiring at least 10 times. I ended up putting all new cables on the NRF to espurino and I'm back in action.
-
• #3
Glad you got it sorted! When interfacing with SPI, getting 255 is often a sign that one or more of MISO or MOSI is connected wrong
I am having all kinds of trouble today lol.
I am trying to get these two radios working again. I had them working in the past but have not been successful today even when trying the most basic example.
https://www.espruino.com/NRF24L01P
I have one espurino attached to a macbook pro USB plugged into the web ide with the following code:
On another macbook pro I have an espurino plugged into the usb with the web ide open. On that one I have the following code:
On the master once I pushed the code I then try the following from the console:
When I do that I get the error:
If I swapped the two pieces of code and make the first the master I get this error:
I have checked my wiring at least 10 times on both NRF24L01P. I used the pin instructions found here https://www.espruino.com/NRF24L01P for my two original espruino boards.
Any insight or tips to debug would be really appreciated.