LCD display, Teraterm display

Dependencies:   ID12RFID ID12RFID_HelloWorld TextLCD mbed

Fork of ID12RFID_HelloWorld by Simon Ford

Committer:
simon
Date:
Tue Nov 23 17:17:56 2010 +0000
Revision:
1:2c017f3d2d04
Parent:
0:df71eb8a3c0b
Child:
2:53965de58fda
Version using new library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 1:2c017f3d2d04 1 // Hello World for printing RFID tag numbers
simon 0:df71eb8a3c0b 2
simon 0:df71eb8a3c0b 3 #include "mbed.h"
simon 0:df71eb8a3c0b 4 #include "ID12RFID.h"
simon 0:df71eb8a3c0b 5
simon 1:2c017f3d2d04 6 ID12RFID rfid(p14); // uart rx
simon 0:df71eb8a3c0b 7
simon 0:df71eb8a3c0b 8 int main() {
simon 1:2c017f3d2d04 9 printf("Hello World\n");
simon 0:df71eb8a3c0b 10 while(1) {
simon 0:df71eb8a3c0b 11 if(rfid.readable()) {
simon 0:df71eb8a3c0b 12 printf("RFID Tag number : %d\n", rfid.read());
simon 0:df71eb8a3c0b 13 }
simon 0:df71eb8a3c0b 14 }
simon 0:df71eb8a3c0b 15 }