Repository navigation
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.