Dependencies:   mbed PID

Committer:
narshu
Date:
Wed Feb 29 17:50:49 2012 +0000
Revision:
0:c8c04928d025
Primary Robot with Sonar function - needs PID tuning for motor control

Who changed what in which revision?

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