This library is push button or dipSw noise cancel and on/off edge recognition
Dependents: led-sound_checker clockGenerator
Fork of DigitalSw by
sample program "DigitalSW_hello" https://developer.mbed.org/users/suupen/code/DigitalSW_hello/rev/ffa16c2a347f
Diff: DigitalSw.h
- Revision:
- 4:1ae29d30a441
- Parent:
- 3:ea853fc7172d
--- a/DigitalSw.h Thu Oct 27 06:35:32 2016 +0000 +++ b/DigitalSw.h Thu Oct 27 06:37:29 2016 +0000 @@ -74,6 +74,7 @@ /** Create a DigitalSw port, connected to the specified sw pins * @param sw pin + * @param PinMode Set the input pin mode (PullUp = initial, PullDown) * @note nothing */ DigitalSw(PinName sw, PinMode pull);