OneButton

An Arduino library for using a single button for multiple purpose input.

OTHER License

Stars
954
Committers
25

Bot releases are hidden (Show)

OneButton - 2.6.1

Published by mathertel 3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mathertel/OneButton/compare/2.6.0...2.6.1

OneButton - 2.6.0

Published by mathertel 3 months ago

What's Changed

  • The new setup(...) function allows deferred initialisation.
  • The SimpleOneButton.ino includes a configuration for the Arduino Nano ESP32
  • Supporting a new press event.
  • using bool instead of boolean that is a deprecated type by Arduino.
  • changes in debouncing.
  • standard Arduino style .clang formatting in changed files.

New Contributors

Full Changelog: https://github.com/mathertel/OneButton/compare/2.5.0...2.6.0

OneButton - Version 2.5.0 Latest Release

Published by mathertel 11 months ago

This release is a minor update including som smaller fixes.

Functions marked with deprecated will be removed in version 3.x
Formatting of source code conformint the standard Arduino IDE 2.0 formatting using .clang-format
Version for platform.io in sync with version for Arduino
Introducing the OneButtonTiny class for small environments with limited program space and memory.

OneButton - 2.1.0

Published by mathertel over 1 year ago

What's Changed

  • Better Debounce implementation
  • Fixing examples for ESP8266 and ESP32
  • Cleanup compiler warnings.
  • CI/CD implemented in Github Actions
  • Documentation

Many thanks to @IhorNehrutsa

See CHANGELOG.md

Full Changelog: https://github.com/mathertel/OneButton/compare/2.0.0...2.1.0

OneButton - Improvements from pull requests

Published by mathertel over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/mathertel/OneButton/compare/2.0.4...2.0.5

OneButton - ESP32 examples

Published by mathertel over 2 years ago

ESP32 defines in examples and documentation

OneButton - Bug Fixes

Published by mathertel almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/mathertel/OneButton/compare/2.0.2...2.0.3

OneButton - Version update for Arduino and platform.io

Published by mathertel about 3 years ago

Version update of the library description for platform.io

OneButton - minor fixes

Published by mathertel over 3 years ago

  • Compiler warning removed
  • Documentation
OneButton - multiclick support

Published by mathertel over 3 years ago

now supporting counting multiple clicks in a row
and new example showing how to use other inputs than standard digital input signals.

see CHANGELOG.md

OneButton - PressStart event and fixes.

Published by mathertel over 4 years ago

Class initialization with default values.
New event for PressStart.
Documentation improvements.

OneButton - Added callback functions with parameters

Published by mathertel almost 5 years ago

Now it is possible to register a callback function that has an extra parameter that provides a pointer to some data relevant for the callback.

OneButton - universal input enabled.

Published by mathertel about 6 years ago

Now it is possible to use other sources of input, not just digital pins.
Some fixes.
Deactivating internal pullup is now possible.

OneButton - Debouncing improved.

Published by mathertel over 7 years ago

some improvements regaring the debouncing and enabling setting the timer where bounces are accepted.

OneButton - Stable

Published by mathertel over 7 years ago

Stable version of the OneButton now in Arduino Library format.