Simple push button and toggle switch debounce library for Arduino and ESP8266 that reports number of clicks and length
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples Support for AVR platform Sep 9, 2018
src
.gitignore Update license to LGPL-3.0, improved support for Arduino IDE Jun 23, 2018
CHANGELOG.md
LICENSE
README.md
keywords.txt
library.json
library.properties
pre-commit Update license to LGPL-3.0, improved support for Arduino IDE Jun 23, 2018

README.md

DebounceEvent

Simple push button and toggle switch debounce library for AVR and ESP8266 platforms under the Arduino framework that reports number of clicks and length

version license
donate twitter

Features

The main features of the DebounceEvent library are:

  • Supports push buttons and toggle switches
  • Reports # of clicks and length (in millis) of the last click
  • Allows to define internal pull-ups
  • Isolation between buttons
  • Create modular code using callbacks

Usage

See examples.

License

Copyright (C) 2015-2018 by Xose Pérez

The DebounceEvent library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The DebounceEvent library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the DebounceEvent library. If not, see http://www.gnu.org/licenses/.