Code for RFID Robot
Dependencies: DebounceIn HTTPClient ID12RFID SDFileSystem TextLCD WiflyInterface iniparser mbed
driver.h
00001 #ifndef _DRIVER_H 00002 #define _DRIVER_H 00003 00004 #include "mbed.h" 00005 #include "LCDText.h" 00006 #include "DebounceIn.h" 00007 #include "robot.h" 00008 #include "ID12RFID.h" 00009 #include "RFID.h" 00010 #include "SD.h" 00011 00012 DigitalOut myled1(LED1), myled2(LED2), myled3(LED3), myled4(LED4); 00013 Serial device(p28, p27); 00014 TextLCD mylcd(p15, p16, p17, p18, p19, p20); 00015 DebounceIn down(p22), up(p23), select(p24), back(p21); 00016 ID12RFID rfid(p10); // uart rx 00017 SDFileSystem sd(p5, p6, p7, p8, "sd"); 00018 00019 void processCommands(vector<robotCommand> &commands); 00020 void initialize(); 00021 00022 #endif
Generated on Tue Jul 12 2022 18:24:35 by 1.7.2