Repository navigation
Releases
Releases · ItsGosho/Button-Enhanced
v1.2.0
v1.1.0
- Option to pause or resume the whole button logic
- Option to retrieve the state of the button via methods
- Counting of shots & hold and the option to clear, pause, resume them
- Option to pause or resume the callbacks notification
- Separation of .cpp & .h
- Configuration option
v1.0.0: Initial Release
Attach a button's pin to the ButtonEnhanced and feel the ease of working buttons.
- Option to listen for a single button click via callbacks
- Option to listen for a hold button via callbacks
- Option to dynamically change the two available callbacks - Button's Shot & Hold
- Option to define shotThresholdMs, which is the lower bottom time required for a read to be categorized as valid
- Option to define holdThresholdMs, which separates the shot & hold states. Eg: When the reading time is categorized as hold.
- Option to define holdNotificationMs, which defines how often your hold callback will be called, when the button is still hold.