Valentin Bruchet
/
a_ID12RFID_HelloWorld
RFID
main.cpp
- Committer:
- simon
- Date:
- 2010-11-23
- Revision:
- 1:2c017f3d2d04
- Parent:
- 0:df71eb8a3c0b
- Child:
- 2:0328f7d52450
File content as of revision 1:2c017f3d2d04:
// 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()); } } }