JC_Button

Arduino library to debounce button switches, detect presses, releases, and long presses.

Author
Jack Christensen
Website
https://github.com/JChristensen/JC_Button
Category
Signal Input/Output
License
GPL 3.0
Library Type
Contributed
Architectures
avr

The Button library is for debouncing and reading momentary contact switches like tactile button switches. "Long presses" of arbitrary length can be detected. Works well in state machine constructs. Use the read() function to read each button in the main loop, which should execute as fast as possible.

Downloads

Filename Release Date File Size
JC_Button-2.0.1.zip 2018-05-14 22.06 KiB
JC_Button-2.0.0.zip 2018-05-11 22.07 KiB
JC_Button-1.0.2.zip 2018-05-10 9.35 KiB