Releases: avdwebLibraries/avdweb_Switch
1.2.8 Update formatting and Platform IO
1.2.7 Update to Repository URI
Merge pull request #28 from ardlib/master for URI and revision Update library.properties for URI and revision
1.2.6 Fixes for Issues in Name and Warnings
1.2.5 Update to License and Arduino Library Manager Format
- Fixed common license to GPL3
- Updated Library layout and files to make it conform Arduino Library Manager Format
- Added CI for testing and formatting
Requested by Martin-Laclaustra
Requested by Martin-Laclaustra
Bugfix
Bugfix. Fixes false event if first call to poll was delayed.
Release with singleClick
Update version number. No changes.
Added single click
Thanks to Albert van Dalen for creating the original code, setting the general principles to organize it, and allowing me to take care of advancing development.
In this release I have tried to stick to those principles, to make them stand out more clearly, and to lay a logical structure that allows further extension. The library now process the raw digital signal from the GPIO pin into subsequent signals: raw -> deglitched -> debounced. Then, the latter is processed by several functions to provide the different events (functions that do not depend on each other, any one could be deleted without hurting functioning). Some of those functions for events make use of some time points that were collected in former polling cycles (they stay the same for all functions, the functions do not create or alter the time points). After all the processing is finished, the current updated relevant time points are stored for future polling cycles.
I also updated documentation and examples, to help new users to understand how to use the library and to speed up reuse of example code.
Altogether the code of the library has undergone several changes, that is why this is released as rc (release candidate), and the code lives in a branch ("singleClick") and it is still not merged to the master branch. Nonetheless, the API keeps full backwards compatibility. I hope that the community finds this update useful and it can be released as full release and end up in the master branch.
Martin Laclaustra
Added callback functions
v1.1.0 Arduino library text updated
v1.0.5: Merge pull request #1 from avandalen/avandalen-patch-1
Add files via upload