Releases: ShaggyDog18/OneButton
Releases · ShaggyDog18/OneButton
Optimized library with more aggressive timing
More aggressive timing for de-bounce (20mSec vs 50mSec), click tick (200mSec vs 400mSec) and press tick (400mSec vs 800mSec).
No other changes.
Optimized library with extended functionality
Optimized the library, synced it up with the original library, release v1.5, by adding attachPressStart() function.
Major addition: multiple, more than 2 clicks detection (see new functions below).
Extended SimpleOneButton example that uses and demonstrates all library methods including new functions.
Added new functions:
- tripleClickFunc() for multiple 3+ clicks (for 3 clicks and more)
- getNumberClicks() to return number of multiple clicks;
- attachPressStart() to maintain compatibility with the new release v1.5 of the parent library: fires immediately as the button is pressed down.
Enjoy!