Skip to content

Releases: JChristensen/JC_Button

JC_Button Library 2.1.4

31 Jan 23:08
Compare
Choose a tag to compare

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

17 Dec 20:49
Compare
Choose a tag to compare

Change architectures to "*" in library.properties.

JC_Button Library 2.1.2

03 Oct 16:53
Compare
Choose a tag to compare

Add JC_Button to keywords file so that syntax highlighting works on #include statement.

JC_Button Library 2.1.1

26 Jun 00:00
Compare
Choose a tag to compare

Fixes issue with UpDown.ino example.

JC_Button Library 2.1.0

10 Mar 21:30
Compare
Choose a tag to compare

Added ToggleButton as a derived class.
Updated documentation.
Added example sketch.

JC_Button Library 2.0.1

14 May 12:21
Compare
Choose a tag to compare

Bugfix: Fix constructor initializer list order.

JC_Button Library 2.0.0

11 May 16:49
Compare
Choose a tag to compare

Overview

This is a major release that is not backwards-compatible with previous releases. However, the incompatibilities are few and fairly straightforward:

  1. 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.
  2. Hardware initialization (i.e. pin configuration) was moved from the constructor to a new begin() function. Therefore begin() needs to be called for each button object in setup() or other initialization code.

Other changes in this release

  1. Library code and example sketches were updated for clarity, coding style and documentation.
  2. Changed license to GNU GPL 3.0.

JC_Button Library 1.0.2

10 May 21:42
Compare
Choose a tag to compare

Changed the name of the library and repository from Button to JC_Button.