Files
2024-07-20 22:09:06 +08:00

4.1 KiB

Changelog

Unreleased

[1.6.0] - 2022-05-26

[1.5.0] - 2021-06-22

  • Added option to define increment as suggested by sblaisot in pull request #32
  • Added a begin() function and a default constructor the be able to instantiate an object within a function
  • Updated the RangedCounter and SimpleCounterWithButton examples. They now use begin()
  • Added getter and setter functions for the upper and lower bounds
    • void setUpperBound(int upper_bound);
    • void setLowerBound(int lower_bound);
    • int getUpperBound();
    • int getLowerBound();

[1.4.2] - 2020-11-29

  • remove unused variable last_read_ms as pointed out by ornea in #26
  • cleaned up the protected vars as suggested by Jim-2249 in #30
  • simplified the loop() function

[1.4.1] - 2020-11-29

  • reordered the constructor parameters to mitigate a code breaking change as suggested by ab-it in pull request #25
  • made resetPosition() callback trigger optional as suggested by ab-it
  • fixed bug in directionToString() introduced in the 1.4 version, found by ab-it

[1.4] - 2020-11-26

  • added callback to resetPosition() as suggested by ab-it in #17
  • Fixed warning in directionToString() as suggested by ab-it in #18
  • Added option to define initial value in the constructor as suggested by ab-it in #20
  • Fixed upper_bound overflow preventing exemple to work on arduino Uno as suggested by sblaisot in pull request #22
  • Avoid triggering change_cb after resetPosition to other position than 0

[1.3] - 2020-06-05

  • Fixed typo in example
  • updated README.md
  • added function setStepsPerClick(), as requested by asalillo in #12
  • Fixed bug #13 in resetPosition(), as pointed out by jjarp
  • removed #pragma message for moves_per_click contructor parameter
  • renamed variable moves_per_click to steps_per_click

[1.2.1] - 2020-04-20

  • Fixed bug related to minimum and maximum bounds
  • Added RangedCounter.ino example
  • Added optional parameter to resetPosition()

[1.2.0] - 2020-04-20

  • Created and added CHANGELOG.md
  • Added optional minimum and maximum bounds to constructor (as suggested by cornfeedhobo in issue #9)

[1.1.2] - 2020-03-31

  • Simplified example

[1.1.1] - 2020-03-30

  • Removed yield() in main loop() since it caused some problems

[1.1.0] - 2020-03-27

  • Added yield() to the main loop()
  • Updated the example (as suggested by per1234)

[1.0.0] - 2017-11-14

  • Added option to set number of clicks to constructor (as suggested by svititom)

Note

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.