Maniacbug's nRF24L01+ arduino library ported to mbed. Functional with minor issues.
Diff: nRF24L01P_Maniacbug.h
- Revision:
- 6:56b693b59e16
- Parent:
- 4:491267614a10
--- a/nRF24L01P_Maniacbug.h Thu May 23 13:44:14 2013 +0000 +++ b/nRF24L01P_Maniacbug.h Tue Jun 11 08:33:14 2013 +0000 @@ -278,14 +278,6 @@ uint8_t read_payload(void* buf, uint8_t len); - - /** - * Retrieve the current status of the chip - * - * @return Current value of status register - */ - uint8_t get_status(void); - /** * Decode and print the given status to stdout * @@ -365,6 +357,12 @@ */ void begin(void); + /** + * Retrieve the current status of the chip + * + * @return Current value of status register + */ + uint8_t get_status(void); /** * Empty the receive buffer