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 Eurobot_2012_Secondary by
Diff: Kalman/Sonar/RF12B/RFSerial.h
- Revision:
- 0:fbfafa6bf5f9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Kalman/Sonar/RF12B/RFSerial.h Fri Apr 20 21:32:24 2012 +0000 @@ -0,0 +1,17 @@ +#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(); +}; \ No newline at end of file