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:
- 1:42b124ed1f57
- Parent:
- 0:bd1232f200be
- Child:
- 2:99cf337cd23e
diff -r bd1232f200be -r 42b124ed1f57 RF12B.h --- a/RF12B.h Thu Mar 10 10:56:15 2011 +0000 +++ b/RF12B.h Thu Mar 10 11:26:20 2011 +0000 @@ -22,7 +22,7 @@ unsigned char read(); /* Sends a byte of data to the RF module for transmission */ - void write(unsigned char data); + void write(unsigned char * data); /* Flushes all data from the RF module's buffer */ void flush(); @@ -34,6 +34,7 @@ bool trans; bool initialized; unsigned int writeCmd(unsigned int cmd); + void send(unsigned char data); }; #endif /* _RF12B_H */ \ No newline at end of file