Dependencies:   mbed lwip

Files at this revision

API Documentation at this revision

Comitter:
chris
Date:
Sat Sep 19 00:47:41 2009 +0000
Child:
1:3a52abf35e4f
Commit message:

Changed in this revision

Objects.cpp Show annotated file Show diff for this revision Revisions of this file
Objects.h Show annotated file Show diff for this revision Revisions of this file
lwip.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Objects.cpp	Sat Sep 19 00:47:41 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;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Objects.h	Sat Sep 19 00:47:41 2009 +0000
@@ -0,0 +1,41 @@
+#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;
+
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lwip.lib	Sat Sep 19 00:47:41 2009 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_unsupported/code/lwip/
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Sep 19 00:47:41 2009 +0000
@@ -0,0 +1,15 @@
+#include "Objects.h"
+
+/*
+ * This project uses an RFID tag reader and the USB interface as a HID keyboard
+ * When an RFID tag is presented to the reader, it is "typed" to the host
+ */
+
+int main() {
+
+
+
+
+}
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Sep 19 00:47:41 2009 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/f63353af7be8