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
RFSerial.h
- Committer:
- harryeakins
- Date:
- 2011-03-11
- Revision:
- 6:98da0571ec31
File content as of revision 6:98da0571ec31:
#include "mbed.h" #include "RF12B.h" class RFSerial : public Stream, public RF12B { public: /* Constructor */ RFSerial(PinName _SDI, PinName _SDO, PinName _SCK, PinName _NCS, PinName _NIRQ); protected: // Stream implementation functions virtual int _putc(int value); virtual int _getc(); };