Code for RFID Robot

Dependencies:   DebounceIn HTTPClient ID12RFID SDFileSystem TextLCD WiflyInterface iniparser mbed

Committer:
4180skrw
Date:
Tue Dec 10 02:17:48 2013 +0000
Revision:
0:9fd64882c5aa
initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
4180skrw 0:9fd64882c5aa 1 #ifndef _DRIVER_H
4180skrw 0:9fd64882c5aa 2 #define _DRIVER_H
4180skrw 0:9fd64882c5aa 3
4180skrw 0:9fd64882c5aa 4 #include "mbed.h"
4180skrw 0:9fd64882c5aa 5 #include "LCDText.h"
4180skrw 0:9fd64882c5aa 6 #include "DebounceIn.h"
4180skrw 0:9fd64882c5aa 7 #include "robot.h"
4180skrw 0:9fd64882c5aa 8 #include "ID12RFID.h"
4180skrw 0:9fd64882c5aa 9 #include "RFID.h"
4180skrw 0:9fd64882c5aa 10 #include "SD.h"
4180skrw 0:9fd64882c5aa 11
4180skrw 0:9fd64882c5aa 12 DigitalOut myled1(LED1), myled2(LED2), myled3(LED3), myled4(LED4);
4180skrw 0:9fd64882c5aa 13 Serial device(p28, p27);
4180skrw 0:9fd64882c5aa 14 TextLCD mylcd(p15, p16, p17, p18, p19, p20);
4180skrw 0:9fd64882c5aa 15 DebounceIn down(p22), up(p23), select(p24), back(p21);
4180skrw 0:9fd64882c5aa 16 ID12RFID rfid(p10); // uart rx
4180skrw 0:9fd64882c5aa 17 SDFileSystem sd(p5, p6, p7, p8, "sd");
4180skrw 0:9fd64882c5aa 18
4180skrw 0:9fd64882c5aa 19 void processCommands(vector<robotCommand> &commands);
4180skrw 0:9fd64882c5aa 20 void initialize();
4180skrw 0:9fd64882c5aa 21
4180skrw 0:9fd64882c5aa 22 #endif