Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RFID_125KHz_Grove.h
- 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