Releases: Mokolea/InputDebounce
Releases · Mokolea/InputDebounce
New: pressed-on time duration on release
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
New: support switch-type
Handles switches with switching function:
- normally open (default)
- normally closed
Examples updated:
- using callback functions
- using inheritance
API is backwards compatible
-- Mario
New: configurable single-shot pressed-on time duration
Delivers continuous or single-shot pressed-on time duration.
Examples updated:
- using callback functions
- using inheritance
Callback functions signature changed
The input-pin number is now passed to the callback-functions
Change license to 'Apache License 2.0'
Replace license 'GNU General Public License v2.0' by 'Apache License 2.0'.
Added functionality
Get the input state by:
- using registered callback functions
- using inheritance
-- Mario
First version :)
First version to be added to the Arduino Library Manager.