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