https://github.com/codingabi/switchbutton
An Arduino Uno/Nano library to use momentary switch buttons with debouncing, short and long press detection, supports sleep modes and works without blocking or delay()
https://github.com/codingabi/switchbutton
arduino avr button momentary-buttons
Last synced: 8 months ago
JSON representation
An Arduino Uno/Nano library to use momentary switch buttons with debouncing, short and long press detection, supports sleep modes and works without blocking or delay()
- Host: GitHub
- URL: https://github.com/codingabi/switchbutton
- Owner: codingABI
- License: cc0-1.0
- Created: 2023-12-31T17:39:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T17:45:37.000Z (over 1 year ago)
- Last Synced: 2025-03-12T00:58:25.954Z (about 1 year ago)
- Topics: arduino, avr, button, momentary-buttons
- Language: C++
- Homepage:
- Size: 414 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SWITCHBUTTON
An Arduino Uno/Nano library to use momentary switch buttons with debouncing, short and long press detection, supports sleep modes and works without blocking or delay()

[PDF-Documentation](SWITCHBUTTON.pdf)
Examples how to use the library
- [simple](examples/simple/simple.ino)
- [buttonStates](examples/buttonStates/buttonStates.ino)
- [sleepmode](examples/sleepmode/sleepmode.ino)
- [pinChangeInterrupt](examples/pinChangeInterrupt/pinChangeInterrupt.ino)