a command line interface that can dynamically assign pins

Dependencies:   TextLCD mbed PS2

Revision:
0:4b04cc4cccb4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Interface.h	Thu Oct 20 20:27:04 2011 +0000
@@ -0,0 +1,31 @@
+/**************************************************************/
+// Name: Interface.h
+// 
+// Description: defines an interface object for assigning 
+//  interfaces on the fly
+//
+/**************************************************************/
+
+#include "mbed.h"
+
+#ifndef _INTERFACE_H
+#define _INTERFACE_H
+//enum InterfaceType = {INVALID, DIGITAL_IN, DIGITAL_OUT, PWM, I2C, SERIAL};
+typedef struct{
+    //unsigned char bottom_pin;
+    //InterfaceType type;
+    void* p_object;
+    DigitalOut* dout;
+} Interface;
+
+#endif
+
+PinName getPin(int pin);
+
+/*class Interface {
+    public:
+        Interface(char type_str[], char pins_str[]);
+        InterfaceType type;
+        unsigned char* pins;
+        unsigned char mask;
+}*/
\ No newline at end of file