Switch

Signal Input/Output

Arduino library for deglitching and debouncing switches and buttons.
Supports detecting longPress, doubleClick, and singleClick. Supports defining callback functions.

Author: Albert van Dalen

Maintainer: Abhijit Bose (aka. Boseji)

Read the documentation

Compatibility

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.