SkillAgentSearch skills...

InputDebounce

Simple polling input debounce Arduino library.

Install / Use

/learn @Mokolea/InputDebounce
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

InputDebounce Arduino Library Build Status

Simple polling input debounce Arduino library. Also usable in the PlatformIO ecosystem.

Release License PlatformIO Registry

Facts

  • used for push-button like switches
  • delivers input value (state) after it has been stable (not flickering) for longer than the debounce period
  • delivers continuous or single-shot pressed-on time duration [ms]
  • delivers pressed-on time duration on release [ms]
  • handles input pin with:
    • external pull-down resistor
    • external pull-up resistor
    • internal pull-up resistor (default)
  • handles switches with switching function:
    • normally open (default)
    • normally closed

Available from the Arduino IDE Library Manager and for PlatformIO as library (Id #123).

Usage

Just see the examples:

Apache License 2.0

-- Mario

Related Skills

View on GitHub
GitHub Stars20
CategoryDevelopment
Updated4mo ago
Forks6

Languages

C++

Security Score

92/100

Audited on Nov 3, 2025

No findings