Maniacbug's nRF24L01+ arduino library ported to mbed. Functional with minor issues.

Files at this revision

API Documentation at this revision

Comitter:
Christilut
Date:
Tue Jun 11 08:33:14 2013 +0000
Parent:
4:491267614a10
Commit message:
Added nRF connectivity check

Changed in this revision

nRF24L01P_Maniacbug.h Show annotated file Show diff for this revision Revisions of this file
diff -r 491267614a10 -r 56b693b59e16 nRF24L01P_Maniacbug.h
--- 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