Awesome Open Source
Awesome Open Source



Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.

Full documentation available at:


EasyButton is an small Arduino library for debouncing momentary contact switches like tactile buttons. It uses events and callbacks to trigger actions when a button is pressed once or held for a given duration. It also provides a sequence counter to be able to rise an event when a given pattern of presses has been matched.


How to use


Single Press

Pressed For Duration

Detecting Sequence


MIT Evert Arias

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Plus Plus (238,550
Arduino (30,700
Button (18,882
Switch (8,246
Esp8266 (4,923
Esp32 (4,075
Arduino Library (2,332
Platformio (1,043
Debounce (696
Esp8266 Arduino (487
Esp32 Arduino (382
Pushbutton (18
Tactile (14
Debounce Button (8