LCD display, Teraterm display

Dependencies:   ID12RFID ID12RFID_HelloWorld TextLCD mbed

Fork of ID12RFID_HelloWorld by Simon Ford

main.cpp

Committer:
simon
Date:
2010-11-23
Revision:
1:2c017f3d2d04
Parent:
0:df71eb8a3c0b
Child:
2:53965de58fda

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());             
        }
    }
}