Chris Styles
/
DemoBoard_RFID_HID
Diff: Objects.cpp
- Revision:
- 0:f4582ce9b8d7
diff -r 000000000000 -r f4582ce9b8d7 Objects.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Objects.cpp Sat Sep 19 00:29:28 2009 +0000 @@ -0,0 +1,26 @@ +#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; +