Signal Input/Output

Button library for Arduino
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.

Author: ArduinoGetStarted.com

Maintainer: ArduinoGetStarted.com (ArduinoGetStarted@gmail.com)

Read the documentation

Go to repository


This library is compatible with the avr architecture so you should be able to use it on the following Arduino boards:


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