Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
447
stars
62
forks
source link
Filtering on any input state change #86
Open
webmonkey opened 11 months ago
I had an issue with a noise on the pin and wanted to implement a simple low-pass filter.
This simple change waits for the input pin value to be stable for at least the debounce time before processing it.