evert-arias / EasyButton

Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
https://easybtn.earias.me
MIT License
452 stars 63 forks source link

Button abstraction functionality and example added #42

Closed elC0mpa closed 4 years ago

elC0mpa commented 4 years ago

Base abstract class EasyButtonBase added Class EasyVar added, this is the one which implements the button abstraction functionality The user doesn't need to give any argument to read () function to indicate if button is interfaced through external interrupts Example added