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
447 stars 62 forks source link

Change the parameters for .onSequence(presses, timeout, onSequenceMatched); #55

Open pnaybour opened 3 years ago

pnaybour commented 3 years ago

Hi is it possible to redefine the parameters for the presses and timeout in this function, based on either user input. Or can they only he set up when first called. A function the change the parameters without redefining the call back would be great.