Skip to content

New: pressed-on time duration on release

Latest
Compare
Choose a tag to compare
@Mokolea Mokolea released this 17 Apr 10:52
· 2 commits to master since this release
43a6e6f

Delivers pressed-on time duration on state change from pressed to released.

Can be used through:

  • polling function getLastPressedDuration()
  • using callback functions - register new callback function releasedDurationCallback
  • using inheritance - new method releasedDuration(unsigned long duration)

Examples are updated

Minor API change, API is not fully backwards compatible to v1.5.0

-- Mario