Eurobot2012_Beacons

Committer:
narshu
Date:
Wed Oct 17 22:26:33 2012 +0000
Revision:
3:bf8a2e4b8012
Parent:
0:b8be0a00c4f8
Commit before publishing

Who changed what in which revision?

UserRevisionLine numberNew contents of line
narshu 0:b8be0a00c4f8 1 #include "mbed.h"
narshu 0:b8be0a00c4f8 2 #include "RF12B.h"
narshu 0:b8be0a00c4f8 3
narshu 0:b8be0a00c4f8 4 class RFSerial : public Stream, public RF12B {
narshu 0:b8be0a00c4f8 5 public:
narshu 0:b8be0a00c4f8 6 /* Constructor */
narshu 0:b8be0a00c4f8 7 RFSerial(PinName _SDI,
narshu 0:b8be0a00c4f8 8 PinName _SDO,
narshu 0:b8be0a00c4f8 9 PinName _SCK,
narshu 0:b8be0a00c4f8 10 PinName _NCS,
narshu 0:b8be0a00c4f8 11 PinName _NIRQ,
narshu 0:b8be0a00c4f8 12 PinName _TRIG);
narshu 0:b8be0a00c4f8 13
narshu 0:b8be0a00c4f8 14 protected:
narshu 0:b8be0a00c4f8 15 // Stream implementation functions
narshu 0:b8be0a00c4f8 16 virtual int _putc(int value);
narshu 0:b8be0a00c4f8 17 virtual int _getc();
narshu 0:b8be0a00c4f8 18 };