Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evert-arias/easybutton
Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
https://github.com/evert-arias/easybutton
arduino arduino-library button debounce debounce-button debounce-buttons detect-presses easybutton esp32 esp32-arduino esp8266 esp8266-arduino platformio pushbutton switch tactile tactile-switches touch touch-button trigger
Last synced: 5 days ago
JSON representation
Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
- Host: GitHub
- URL: https://github.com/evert-arias/easybutton
- Owner: evert-arias
- License: mit
- Created: 2018-09-05T14:38:28.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T12:38:02.000Z (9 months ago)
- Last Synced: 2025-02-15T14:09:43.109Z (5 days ago)
- Topics: arduino, arduino-library, button, debounce, debounce-button, debounce-buttons, detect-presses, easybutton, esp32, esp32-arduino, esp8266, esp8266-arduino, platformio, pushbutton, switch, tactile, tactile-switches, touch, touch-button, trigger
- Language: C++
- Homepage: https://easybtn.earias.me
- Size: 355 KB
- Stars: 457
- Watchers: 15
- Forks: 65
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# EasyButton
[](http://doge.mit-license.org)
Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
Full documentation available at: https://easybtn.earias.me/docs/introduction
## Description
**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.
## Installation
https://easybtn.earias.me/docs/installation## How to use
https://easybtn.earias.me/docs/fundamentals## Examples
[Single Press](https://easybtn.earias.me/docs/on-single-press-example)[Pressed For Duration](https://easybtn.earias.me/docs/on-pressed-for-duration-example)
[Detecting Sequence](https://easybtn.earias.me/docs/on-sequence-example)
## Copyright
[MIT](../LICENSE.md) © [Evert Arias](https://www.earias.me/)