Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 3.97 KB

CHANGELOG.md

File metadata and controls

70 lines (49 loc) · 3.97 KB

Changelog

Unreleased

[1.6.1] - 2021-03-22

  • updated README.md
  • added const to getter functions

[1.6.0] - 2021-02-10

  • added getter/setter functions for debounce, longclick and doubleclick timeouts
  • removed debounce timeout parameter from contructor and begin()

[1.5.4] - 2021-02-08

  • Added getAttachPin() function, as suggested by madivad in issue #23

[1.5.3] - 2021-01-26

  • Fixed a bug in the constructor, as suggested by alex-s-v in pull request #22

[1.5.2] - 2021-01-26

  • Fixed a bug in the isPressed() function, as suggested by zenturacp in #21

[1.5.1] - 2021-01-04

  • Fixed a bug in the loop() function

[1.5.0] - 2021-01-03

  • Added default constructor and begin() function
  • Added pull request by skelstar to add the setLongClickDetectedHandler() function which is triggered as soon as the longclick timeout has passed

[1.4.1] - 2020-12-19

  • Moved activeLow outside of isCapacitive condition (as suggested by Wai Lin in #18

[1.4.0] - 2020-11-06

  • Updated LongpressHandler example - changed variable name to from buttonA to button
  • toggled pressed and released (as suggesed by TommyC81 in #16)
  • added debug function isPressedRaw() (as suggesed by TommyC81 in #16)
  • fixed bug with click_count (as suggesed by TommyC81 in #16)
  • changed return types of getNumberOfClicks() and getClickType() to byte

[1.3.0] - 2020-11-06

  • Added capacitive touch sensor capabilties (for ESP32) (as suggested by qubolino in #11)
  • Removed deprecated entry in the library.properties file (as suggested by SangLe) in #15
  • Added const modifier to functions (as suggested by Anton-V-K in #13)

[1.2.0] - 2020-04-16

  • Added possibility to define your own timeouts for clicks (as suggested by cmeldas in #10)
  • Removed yield() in main loop() since it caused some problems
  • Created and added CHANGELOG.md

[1.1.0] - 2020-03-27

  • Changed the private functions to protected (as suggested by Nagymadar in #9)
  • Added support for active high buttons (as suggested by Nagymadar in #8)
  • Added reset() function to unset all functions (as suggested by Nagymadar in #7)
  • Added a yield() command to the main loop()
  • Changed the times for double and triple click
  • Fixed error in SingleButton.ino (as suggested by alexthe-red in #3)
  • Added the library to the Arduino IDE

[1.0.0] - 2017-11-09

  • initial release

Note

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