![](/media/cache/group/WeatherStation.jpg.50x50_q85.jpg)
This is a work in progress for an NRF2401P
Dependencies: mbed
Fork of NRF2401P by
Diff: NRF2401P.h
- Revision:
- 2:ca0a3c0bba70
- Parent:
- 1:ff53b1ac3bad
- Child:
- 3:afe8d307b5c3
--- a/NRF2401P.h Thu Jun 11 17:00:18 2015 +0000 +++ b/NRF2401P.h Thu Jun 11 23:19:52 2015 +0000 @@ -32,6 +32,8 @@ char logMsg[80]; char status; char statusS[32]; + char pipe0Add[5]; + char txAdd[5]; bool dynamic,debug; Serial *pc; @@ -56,7 +58,7 @@ bool setAddressWidth(char width); char setChannel(char chan); - char setDynamicPayload(); + void setDynamicPayload(); bool setPwrUp(); char setRadio(char speed,char power); char setRxAddress(char *address, char pipe); @@ -65,6 +67,8 @@ char setTxAddress(char *address); char setTxAddress(long long address); bool setTxMode(); + void setTxRetry(char delay, char numTries); + void start(); char * statusString(); char writeReg(char address, char *data, char width); char writeReg(char address, char data);