nRF51 SDK - S120 SoftDevice
|
The Radio Transmitter Example demonstrate how to transmit data using the NRF_RADIO peripheral. This project must be used together with the corresponding receiver project for the PCA10000 board. Button presses on the PCA10001 board are sent to the PCA10000 board, and printed in a COM listener (like PUTTY) using UART.
This example continuously sends one-byte payload radio packets. The payload contains the button status of the PCA10001 board. If Button 0 is pushed the payload is 1, if Button 1 is pushed the payload is 2 and if both are pushed the payload is 3. When no button is pushed the payload is set to zero and only when a button's state goes from not pushed to pushed the corresponding bit in the payload is set.
Button assignments:
The Radio Transmitter Example Application can be tested as follows: