Skip to content

Releases: Dlloydev/Toggle

Toggle 3.0.1

21 May 05:02
Compare
Choose a tag to compare
  • Fixed toggle function
  • Added begin() function to setup in examples
  • Updated readme

Toggle 3.0.0

20 May 18:22
Compare
Choose a tag to compare

Major release with new functions and updated readme with function reference and updated examples.

Toggle 2.5.3

16 May 05:33
Compare
Choose a tag to compare
  • Algorithm now has 3 modes - Robust, Normal and Quick.
  • Updated code and comments
  • Updated examples and readme

Toggle 2.5.2

14 May 21:09
Compare
Choose a tag to compare
  • Allow initializing an array of Toggle objects. Example Eight_buttons.ino updated.
  • New input mode input_bit and example
  • When in input_port mode, you can now get the status for any bit i.e. isOFF(3); for bit3.
  • Updated examples and readme

Toggle 2.5.1

13 May 17:20
Compare
Choose a tag to compare

Some cleanup and updates to examples

Toggle 2.5.0

13 May 01:38
Compare
Choose a tag to compare

Refactored code, all input configurations use the same debounce algorithm, examples and readme updated.

Toggle 2.4.1

12 May 00:17
Compare
Choose a tag to compare

Now you can debounce two 8-bit ports (representing 16 input signals) in one instance of Toggle.
New examples added and Readme updated,

Toggle 2.4.0

11 May 15:40
Compare
Choose a tag to compare
  • New powerful function debouncePort()
  • Now you can easily debounce a complete 8-bit port (8 signals) at a time in just one Toggle object. Several instances of Toggle can debounce 16-bit I/O expanders or other hardware, sensor data or stored data.
  • New example added.

Toggle 2.3.0

10 May 18:21
Compare
Choose a tag to compare
  • More responsive algorithm: 1 sample glitches are ignored, 2 samples to detect pressed state, 3 samples to detect released state.
  • New setInvertMode() function. Set true if button or switch forces input high when pressed.
  • New input_pulldown mode enables pulldown resistor for ESP32: sw1.setInputMode(sw1.inMode::input_pulldown);
  • New examples

Toggle 2.2.2

10 May 02:09
Compare
Choose a tag to compare
  • New getAllTransitions(); function
  • New examples
  • Updated documentation