Lab 1 Program C

Dependents:   Lab1C

Fork of mbed by -deleted-

Revision:
4:5d1359a283bc
Parent:
1:6b7f447ca868
Child:
5:62573be585e9
diff -r aefd12a1f1c5 -r 5d1359a283bc BusIn.h
--- a/BusIn.h	Fri Nov 14 15:25:20 2008 +0000
+++ b/BusIn.h	Thu Nov 27 16:23:24 2008 +0000
@@ -29,10 +29,11 @@
      *  It is only required to specify as many pin variables as is required
      *  for the bus; the rest will default to NOT_CONNECTED
 	 */ 
-	BusIn(int p0, int p1 = NOT_CONNECTED, int p2 = NOT_CONNECTED, int p3 = NOT_CONNECTED,
-		  int p4 = NOT_CONNECTED, int p5 = NOT_CONNECTED, int p6 = NOT_CONNECTED, int p7 = NOT_CONNECTED,
-		  int p8 = NOT_CONNECTED, int p9 = NOT_CONNECTED, int p10 = NOT_CONNECTED, int p11 = NOT_CONNECTED,
-		  int p12 = NOT_CONNECTED, int p13 = NOT_CONNECTED, int p14 = NOT_CONNECTED, int p15 = NOT_CONNECTED);
+    BusIn(int p0, int p1 = NOT_CONNECTED, int p2 = NOT_CONNECTED, int p3 = NOT_CONNECTED,
+          int p4 = NOT_CONNECTED, int p5 = NOT_CONNECTED, int p6 = NOT_CONNECTED, int p7 = NOT_CONNECTED,
+          int p8 = NOT_CONNECTED, int p9 = NOT_CONNECTED, int p10 = NOT_CONNECTED, int p11 = NOT_CONNECTED,
+          int p12 = NOT_CONNECTED, int p13 = NOT_CONNECTED, int p14 = NOT_CONNECTED, int p15 = NOT_CONNECTED, 
+          const char *name = NULL);
 		
 	virtual ~BusIn();
 	
@@ -52,6 +53,8 @@
 	 *  A shorthand for <read>
 	 */
 	operator int();
+
+    virtual const struct rpc_method *rpc_methods();
 		
 protected: