Debounce InterruptIn

Dependents:   led_sigfox Allumag_lampe_sigfox Case_study_02_Turnstile B18_MP3_PLAYER ... more

Revision:
14:da09706b92f5
Parent:
13:09b53a088a9c
Child:
15:948e85b22efe
--- a/DebouncedInterrupt.h	Tue Feb 18 16:51:44 2014 +0000
+++ b/DebouncedInterrupt.h	Tue Feb 18 17:26:42 2014 +0000
@@ -36,6 +36,7 @@
 private:
     unsigned int _debounce_us;
     InterruptIn *_in;
+    DigitalIn *_din;
     
     // Diagnostics
     volatile unsigned int _bounce_count;