Skip to content

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

License

Notifications You must be signed in to change notification settings

vdccc/EasyButton

 
 

Repository files navigation

EasyButton

License

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

Pressed For Duration

Detecting Sequence

Copyright

MIT © Evert Arias

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%