Mark Bauer
/
ID12RFID_HelloWorld
main.cpp
- Committer:
- scologic
- Date:
- 2012-03-24
- Revision:
- 0:efba1b5d48f3
File content as of revision 0:efba1b5d48f3:
// Hello World for printing RFID tag numbers #include "mbed.h" #include "ID12RFID.h" ID12RFID rfid(p14); // uart rx int main() { printf("Hello World\n"); while (1) { if (rfid.readable()) { printf("RFID Tag number : %d\n", rfid.read()); } } }