thomasfredericks / Bounce2

Debouncing library for Arduino and Wiring
MIT License
592 stars 172 forks source link

Add attachAnalog function; #51

Open kowmat opened 5 years ago

kowmat commented 5 years ago

attachAnalog receives analog pin and threshold; Returns true if set threshold is surpassed;

milesfrankland commented 5 years ago

Nice feature!

Bounce on, and off value would accompany this really nicely so you can change the debounce on time and off time independently