Chris Styles
/
DemoBoard_RFID_HID
Objects.cpp@0:f4582ce9b8d7, 2009-09-19 (annotated)
- Committer:
- chris
- Date:
- Sat Sep 19 00:29:28 2009 +0000
- Revision:
- 0:f4582ce9b8d7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:f4582ce9b8d7 | 1 | #include "Objects.h" |
chris | 0:f4582ce9b8d7 | 2 | |
chris | 0:f4582ce9b8d7 | 3 | LocalFileSystem local("local"); |
chris | 0:f4582ce9b8d7 | 4 | Serial pc(USBTX, USBRX); |
chris | 0:f4582ce9b8d7 | 5 | |
chris | 0:f4582ce9b8d7 | 6 | InterruptIn RedButton(p30,"redbutton"); |
chris | 0:f4582ce9b8d7 | 7 | DigitalIn GreenButton(p29,"greenbutton"); |
chris | 0:f4582ce9b8d7 | 8 | DigitalIn BlueButton(p28,"bluebutton"); |
chris | 0:f4582ce9b8d7 | 9 | |
chris | 0:f4582ce9b8d7 | 10 | DigitalOut led1(LED1,"led1"); |
chris | 0:f4582ce9b8d7 | 11 | DigitalOut led2(LED2,"led2"); |
chris | 0:f4582ce9b8d7 | 12 | DigitalOut led3(LED3,"led3"); |
chris | 0:f4582ce9b8d7 | 13 | DigitalOut led4(LED4,"led4"); |
chris | 0:f4582ce9b8d7 | 14 | |
chris | 0:f4582ce9b8d7 | 15 | AnalogIn light(p16); |
chris | 0:f4582ce9b8d7 | 16 | AnalogIn pot(p20,"pot"); |
chris | 0:f4582ce9b8d7 | 17 | |
chris | 0:f4582ce9b8d7 | 18 | RFID rfid (NC,p27); |
chris | 0:f4582ce9b8d7 | 19 | MobileLCD lcd(p11, p12, p13, p14, p15); |
chris | 0:f4582ce9b8d7 | 20 | LIS302 acc (p5,p6,p7,p8); |
chris | 0:f4582ce9b8d7 | 21 | RGBLED rgb (p24,p22,p23); |
chris | 0:f4582ce9b8d7 | 22 | Servo servo (p21); |
chris | 0:f4582ce9b8d7 | 23 | SRF05 srf (p10,p9); |
chris | 0:f4582ce9b8d7 | 24 | |
chris | 0:f4582ce9b8d7 | 25 | usbhid hid; |
chris | 0:f4582ce9b8d7 | 26 |