XP_Button

Signal Input/Output

Library to debounce button switches, detect presses, releases, and long presses.
For debouncing and reading momentary contact switches like tactile button switches. "Long presses" of arbitrary length can be detected. Works well in state machine constructs.

Author: Xylopyrographer (https://github.com/Xylopyrographer)

Maintainer: Xylopyrographer (https://github.com/Xylopyrographer)

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.