Lab 1 Program C

Dependents:   Lab1C

Fork of mbed by -deleted-

Revision:
4:5d1359a283bc
Parent:
1:6b7f447ca868
Child:
5:62573be585e9
--- a/DigitalIn.h	Fri Nov 14 15:25:20 2008 +0000
+++ b/DigitalIn.h	Thu Nov 27 16:23:24 2008 +0000
@@ -28,7 +28,7 @@
 	 * Variables:
 	 *  pin - DigitalIn pin to connect to (5-30)
 	 */
-	DigitalIn(int pin);
+	DigitalIn(int pin, const char *name = NULL);
 
 	/* Function: rise
 	 *  Attach a function to call when a rising edge occurs on the input
@@ -66,6 +66,8 @@
 	operator int();
  	
  	static void _irq(); // Called on a GPIO interrupt
+
+    virtual const struct rpc_method *rpc_methods();
  	
 protected: