Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF24L01P_Maniacbug by
Diff: nRF24L01P_Maniacbug.h
- Revision:
- 4:491267614a10
- Parent:
- 3:b13cafed7ee5
- Child:
- 6:56b693b59e16
diff -r b13cafed7ee5 -r 491267614a10 nRF24L01P_Maniacbug.h
--- a/nRF24L01P_Maniacbug.h Thu Apr 25 14:45:45 2013 +0000
+++ b/nRF24L01P_Maniacbug.h Thu May 23 13:44:14 2013 +0000
@@ -215,7 +215,8 @@
* @param level HIGH to actively begin transmission or LOW to put in standby. Please see data sheet
* for a much more detailed description of this pin.
*/
- void ce(int level);
+ void ce(int level);
+
/**
* Read a chunk of data in from a register
@@ -357,7 +358,14 @@
*/
RF24(PinName mosi, PinName miso, PinName sck, PinName _csnpin, PinName _cepin);
-
+ /**
+ * Begin operation of the chip
+ *
+ * Call this in setup(), before calling any other methods.
+ */
+ void begin(void);
+
+
/**
* Empty the receive buffer
*
@@ -371,12 +379,6 @@
* @return Current value of status register
*/
uint8_t flush_tx(void);
- /**
- * Begin operation of the chip
- *
- * Call this in setup(), before calling any other methods.
- */
- void begin(void);
/**
* Start listening on the pipes opened for reading.
