Closed zigon15 closed 5 years ago
I don’t remember why I did it this way. I believe that was some device (arduino-like stuff?) which wrote the address the back to front. Anyways, the opportunity to specify of how the address will be transmitted to the transceiver (at the compile time) sound like a good idea. Please take a look at the latest commit (the nRF24_ADDR_REVERSE
define).
PS: right now I don't have F103 to test changes, so the demo code can be broken... But the library itself is working (tested it on the L4 device).
At the moment the nrf24l01 library writes the address in reverse order compared to the Arduino library which makes it incompatible unless you specify the address in reverse order.
is how it is currently done which makes it incompatible with nrf24 modules connected up to an Arduino.
fixes it, I haven't tried it with pipes 2->5 though.