Sergey Nikitin / RFID_125KHz_Grove
Revision:
1:8d16a97fe85e
Parent:
0:f28689b8d158
Child:
2:b7e230d98325
--- a/RFID_125KHz_Grove.h	Sun Feb 22 13:02:56 2015 +0000
+++ b/RFID_125KHz_Grove.h	Sun Feb 22 13:13:17 2015 +0000
@@ -42,3 +42,30 @@
 };
 
 #endif
+
+/*
+  //Example of use:
+  
+#include "mbed.h"
+#include "RFID_125KHz_Grove.h"
+
+
+
+string ss;
+char buff[64];
+
+RfidGrove rfid(PA_11, PA_12, buff, 64);
+Serial pc (USBTX,USBRX);
+
+int main()
+{
+    pc.baud(9600);
+    pc.printf("RFID TEST \n");      
+    
+    while(1) {
+        if( rfid.Available()) {
+            pc.printf("|>%s< (%d char)| " ,buff,rfid.GetCharCount());
+        }
+    }
+}
+*/
\ No newline at end of file