Releases: JChristensen/JC_Button
Releases · JChristensen/JC_Button
JC_Button Library 2.1.5
Improvements for noise immunity.
JC_Button Library 2.1.4
Incorporate PR #39: Change several member functions to const & add some initial values.
This avoids some warnings generated by cppcheck.
JC_Button Library 2.1.3
Change architectures to "*" in library.properties.
JC_Button Library 2.1.2
Add JC_Button to keywords file so that syntax highlighting works on #include statement.
JC_Button Library 2.1.1
Fixes issue with UpDown.ino example.
JC_Button Library 2.1.0
Added ToggleButton as a derived class.
Updated documentation.
Added example sketch.
JC_Button Library 2.0.1
Bugfix: Fix constructor initializer list order.
JC_Button Library 2.0.0
Overview
This is a major release that is not backwards-compatible with previous releases. However, the incompatibilities are few and fairly straightforward:
- The order of the parameters for the constructor has changed. Default values are now supplied for three of the four parameters. This simplifies coding for the most common use case, i.e. a button wired from a GPIO pin to ground and the internal AVR pullup resistor enabled. For this case, only the pin number needs to be passed to the constructor.
- Hardware initialization (i.e. pin configuration) was moved from the constructor to a new
begin()
function. Thereforebegin()
needs to be called for each button object insetup()
or other initialization code.
Other changes in this release
- Library code and example sketches were updated for clarity, coding style and documentation.
- Changed license to GNU GPL 3.0.
JC_Button Library 1.0.2
Changed the name of the library and repository from Button to JC_Button.