nRF51 SDK
|
Modules | |
main.c | |
Radio Receiver Example Application main file. | |
The Radio Receiver Example demonstrate how to receive data using the NRF_RADIO peripheral. This project must be used together with the corresponding transmitter project for the PCA10001 board. Button presses on the PCA10001 board are sent to the PCA10000 board, and printed in a COM listener (like PUTTY) using UART.
The receiver is configured to continuously receive packets from the corresponding transmitter project. The on-byte payload contains the button status on the transmitter board. If the byte is 1 Button 1 is pressed, if the byte is 2 Button 1 is pressed and if it's 3 both buttons are pressed.
Insert the PCA10000 board in a USB slot, and find out which COM port it uses.
The Radio Receiver Example Application can be tested as follows: