elec350

Dependencies:   mbed

Fork of elec350 by Bob Merrison-Hort

Revision:
8:a82ea42026db
Parent:
7:aa63d1e53be6
--- a/button.h	Tue Oct 20 14:06:30 2015 +0000
+++ b/button.h	Tue Oct 20 15:01:59 2015 +0000
@@ -10,7 +10,7 @@
     public:
         Button(string name);
         bool isPressed();
-        float getPulse();
+        float getPulse(float timeout=-1.0f);
 };
 
 #endif