Extends DigitalIn to DebounceIn to provide mechanical switch debouncing.

Dependents:   AVC_20110423 Pushbutton_NoBounce_Demo FinalTime AVC_2012 ... more

Files at this revision

API Documentation at this revision

Comitter:
AjK
Date:
Thu Jan 13 09:52:32 2011 +0000
Parent:
0:38fc7a626a26
Child:
2:31ae5cfb44a4
Commit message:
Added extra reference to PinDetect library

Changed in this revision

DebounceIn.h Show annotated file Show diff for this revision Revisions of this file
--- a/DebounceIn.h	Wed Oct 27 01:16:02 2010 +0000
+++ b/DebounceIn.h	Thu Jan 13 09:52:32 2011 +0000
@@ -47,6 +47,9 @@
  * @see set_debounce_us() To change the sampling frequency.
  * @see set_samples() To alter the number of samples.
  *
+ * Users of this library may also be interested in PinDetect library:-
+ * @see http://mbed.org/users/AjK/libraries/PinDetect/latest
+ *
  * This example shows one input displayed by two outputs. The input
  * is debounced by the default 10ms.
  */