This is for ICRS\' second generation Quadcopter

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RFSerial.h Source File

RFSerial.h

00001 #include "mbed.h"
00002 #include "RF12B.h"
00003 
00004 class RFSerial : public Stream, public RF12B {
00005 public:
00006     /* Constructor */
00007     RFSerial(PinName _SDI,
00008           PinName _SDO,
00009           PinName _SCK,
00010           PinName _NCS,
00011           PinName _NIRQ);
00012      
00013 protected:
00014     // Stream implementation functions
00015     virtual int _putc(int value);
00016     virtual int _getc();    
00017 };