Signal Input/Output
Button library for Arduino, ESP32, ESP8266...
Button library supports debounce, pressed/released events and the press counting. It is easy to use with multiple buttons. The library can be used for push-button, momentary switches, toggle switch, magnetic contact switch (door sensor)... It is designed for not only beginners but also experienced users.
Maintainer: ArduinoGetStarted.com (ArduinoGetStarted@gmail.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.