Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Revision:
2:cffa347bb943
Parent:
1:bbabbd997d21
Child:
3:429829612cf9
--- a/Kalman/Sonar/RF12B/RFSerial.cpp	Fri Apr 20 21:56:15 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-
-/* Constructor */
-#include "RFSerial.h"
-
-RFSerial::RFSerial(PinName _SDI,
-                   PinName _SDO,
-                   PinName _SCK,
-                   PinName _NCS,
-                   PinName _NIRQ)
-:RF12B(_SDI, _SDO, _SCK, _NCS, _NIRQ) {
-    
-}
-
-// Stream implementation functions
-int RFSerial::_putc(int value) {
-    RF12B::write((unsigned char) value);
-    return value;
-}
-int RFSerial::_getc() {
-    if(available()) {
-        return RF12B::read();
-    } else {
-        return EOF;
-    }
-}
\ No newline at end of file