The attached code is to help simplify setting up a Nordic NRF24L01+ RF Device. Subs "Commands" eliminate the need for writing SPI stuff. Other subs allow debugging/ reading registers.
See the Attached Files. If you have problems or questions ask here.
Attached is a screenshot of the Terminal after calling the PrintDetails Sub. This shows all registers and their values at power up (defaults). Each register is read and the data displayed. If the NRF24L1+ is operating correctly and the connections from the Microcontroller are good then the data will be exactly as shown in the screenshot.
Correction: Config register 0x00 show a value of "9". This is becasue I wrote a "9" to register 0x00 using the NRF_Write sub, prior to calling PrintDetails. The default value will be "8".
The attached code is to help simplify setting up a Nordic NRF24L01+ RF Device. Subs "Commands" eliminate the need for writing SPI stuff. Other subs allow debugging/ reading registers.
See the Attached Files. If you have problems or questions ask here.
William
Last edit: William Roth 2016-05-31
Attached is a screenshot of the Terminal after calling the PrintDetails Sub. This shows all registers and their values at power up (defaults). Each register is read and the data displayed. If the NRF24L1+ is operating correctly and the connections from the Microcontroller are good then the data will be exactly as shown in the screenshot.
Correction: Config register 0x00 show a value of "9". This is becasue I wrote a "9" to register 0x00 using the NRF_Write sub, prior to calling PrintDetails. The default value will be "8".
William
Last edit: William Roth 2016-06-01