Chris Styles
/
DemoBoard_RFID_HID
Revision 1:bde97f4fdef6, committed 2009-09-22
- Comitter:
- chris
- Date:
- Tue Sep 22 11:58:25 2009 +0000
- Parent:
- 0:f4582ce9b8d7
- Commit message:
Changed in this revision
diff -r f4582ce9b8d7 -r bde97f4fdef6 Objects.cpp --- a/Objects.cpp Sat Sep 19 00:29:28 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#include "Objects.h" - -LocalFileSystem local("local"); -Serial pc(USBTX, USBRX); - -InterruptIn RedButton(p30,"redbutton"); -DigitalIn GreenButton(p29,"greenbutton"); -DigitalIn BlueButton(p28,"bluebutton"); - -DigitalOut led1(LED1,"led1"); -DigitalOut led2(LED2,"led2"); -DigitalOut led3(LED3,"led3"); -DigitalOut led4(LED4,"led4"); - -AnalogIn light(p16); -AnalogIn pot(p20,"pot"); - -RFID rfid (NC,p27); -MobileLCD lcd(p11, p12, p13, p14, p15); -LIS302 acc (p5,p6,p7,p8); -RGBLED rgb (p24,p22,p23); -Servo servo (p21); -SRF05 srf (p10,p9); - -usbhid hid; -
diff -r f4582ce9b8d7 -r bde97f4fdef6 Objects.h --- a/Objects.h Sat Sep 19 00:29:28 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ -#include "mbed.h" - -#include "HTTPServer.h" -#include "HTTPRPC.h" -#include "HTTPFS.h" - -#include "MobileLCD.h" -#include "LIS302.h" -#include "RFID.h" -#include "RGBLED.h" -#include "Servo.h" -#include "usbhid.h" -#include "SRF05.h" - -extern LocalFileSystem local; -extern Serial pc; - -extern InterruptIn RedButton; -extern DigitalIn GreenButton; -extern DigitalIn BlueButton; - -extern DigitalOut led1; -extern DigitalOut led2; -extern DigitalOut led3; -extern DigitalOut led4; - -extern AnalogIn light; -extern AnalogIn pot; - -extern RFID rfid; -extern MobileLCD lcd; -extern LIS302 acc; -extern RGBLED rgb; -extern Servo servo; -extern SRF05 srf; - -extern usbhid hid; - - - -
diff -r f4582ce9b8d7 -r bde97f4fdef6 main.cpp --- a/main.cpp Sat Sep 19 00:29:28 2009 +0000 +++ b/main.cpp Tue Sep 22 11:58:25 2009 +0000 @@ -1,4 +1,4 @@ -#include "Objects.h" +#include "DemoBoard.h"