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.
Dependencies: ID12RFID ID12RFID_HelloWorld TextLCD mbed
Fork of ID12RFID_HelloWorld by
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());             
        }
    }
}
            
    