Signal Input/Output
DailyStruggleButton is yet another Arduino library to debounce button (push tactile switch) and manage its events.
Events supported include pressing, releasing, holding down, long pressing (hold button for x time) and multi-hitting (hit button x times in y time). For simplicity, there is only one callback function for all events, that passes an identifier as a parameter to indicate the event that just happened.
Maintainer: cygig, rubbish52@hotmail.com
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.