Library to send and receive data using RF12B transceiver modules Big thanks to the tutorial at https://loee.jottit.com/rfm12b_and_avr_-_quick_start and madcowswe
Dependents: Measure_system Quadcopter_copy
Diff: RF12B.h
- Revision:
- 5:a92c3f6d1711
- Parent:
- 4:2a295db9ba1a
- Child:
- 6:98da0571ec31
--- a/RF12B.h Thu Mar 10 17:26:42 2011 +0000 +++ b/RF12B.h Thu Mar 10 18:07:53 2011 +0000 @@ -41,6 +41,7 @@ DigitalOut NCS; InterruptIn NIRQ; DigitalIn NIRQ_in; + DigitalOut rfled; /* Initialises the RF12B module */ void init(); @@ -59,6 +60,9 @@ /* Tell the RF Module this packet is received and wait for the next */ void resetRX(); + + /* Return the RF Module Status word */ + unsigned int status(); }; #endif /* _RF12B_H */ \ No newline at end of file