Doug Anson / ID12RFID

Fork of ID12RFID by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Tue Sep 09 20:23:00 2014 +0000
Parent:
3:d5920dcaf034
Commit message:
updated to use BufferSerial

Changed in this revision

ID12RFID.h Show annotated file Show diff for this revision Revisions of this file
--- a/ID12RFID.h	Tue Sep 09 17:01:12 2014 +0000
+++ b/ID12RFID.h	Tue Sep 09 20:23:00 2014 +0000
@@ -24,6 +24,7 @@
 #define MBED_ID12RFID_H
  
 #include "mbed.h"
+#include "BufferedSerial.h"
 
 /** An interface for the ID-12 RFID reader device
  *
@@ -66,7 +67,7 @@
     int read();
 
 private:
-    RawSerial _rfid;
+    BufferedSerial _rfid;
     
 };