TX (remote) side of the Nerf demo. Uses the FRDM-K64F and nRF24L01P to take acceleration data and send it wirelessly to the base unit.
Dependencies: DebounceIn FXOS8700Q mbed nRF24L01P
Dependents: NerfGun_nRF24L01P_TX_9dof
Fork of NerfGun_nRF24L01P_TX by
Diff: main.cpp
- Revision:
- 1:ebfa9cb235de
- Parent:
- 0:b5e995814400
--- a/main.cpp Mon May 12 18:50:58 2014 +0000 +++ b/main.cpp Wed May 21 13:47:07 2014 +0000 @@ -38,7 +38,7 @@ pc.baud(115200); - my_nrf24l01p.setTxAddress(0xDEADBEEF01); + my_nrf24l01p.setTxAddress(0xDEADBEEF0F); my_nrf24l01p.powerUp(); myled1 = 1; myled2 = 1;