Maniacbug's nRF24L01+ arduino library ported to mbed. Functional with minor issues.
Revision 3:b13cafed7ee5, committed 2013-04-25
- Comitter:
- Christilut
- Date:
- Thu Apr 25 14:45:45 2013 +0000
- Parent:
- 2:a483f426d380
- Child:
- 4:491267614a10
- Commit message:
- -
Changed in this revision
| nRF24L01P_Maniacbug.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/nRF24L01P_Maniacbug.h Fri Apr 05 10:18:40 2013 +0000
+++ b/nRF24L01P_Maniacbug.h Thu Apr 25 14:45:45 2013 +0000
@@ -276,19 +276,7 @@
*/
uint8_t read_payload(void* buf, uint8_t len);
- /**
- * Empty the receive buffer
- *
- * @return Current value of status register
- */
- uint8_t flush_rx(void);
- /**
- * Empty the transmit buffer
- *
- * @return Current value of status register
- */
- uint8_t flush_tx(void);
/**
* Retrieve the current status of the chip
@@ -369,6 +357,20 @@
*/
RF24(PinName mosi, PinName miso, PinName sck, PinName _csnpin, PinName _cepin);
+
+ /**
+ * Empty the receive buffer
+ *
+ * @return Current value of status register
+ */
+ uint8_t flush_rx(void);
+
+ /**
+ * Empty the transmit buffer
+ *
+ * @return Current value of status register
+ */
+ uint8_t flush_tx(void);
/**
* Begin operation of the chip
*