Skip to content

v1.0.0: Initial Release

Choose a tag to compare

@ItsGosho ItsGosho released this 03 Oct 19:57
· 28 commits to main since this release
932623c

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.