SkillAgentSearch skills...

Debounceevent

Simple push button and toggle switch debounce library for Arduino and ESP8266 that reports number of clicks and length

Install / Use

/learn @xoseperez/Debounceevent
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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 <br /> 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 <xose dot perez at gmail dot com>

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/.

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated2y ago
Forks12

Languages

C++

Security Score

75/100

Audited on Dec 29, 2023

No findings