Debounce icon indicating copy to clipboard operation
Debounce copied to clipboard

INPUT_PULLUP is inconstant to the readme

Open smwoodward opened this issue 2 years ago • 1 comments

In the readme, it appears that only if you put the 3rd variable in the Debounce Button(2,80,true) that it appears that the pull_down is default, where the default is true.

It might be best to change Debounce.h from 25 Debounce(byte button, unsigned long delay = 50, boolean pullup = true);

to 25 Debounce(byte button, unsigned long delay = 50, boolean pullup = false);

smwoodward avatar Jun 28 '22 16:06 smwoodward

I think you're right, but I don't have an arduino to test code changes and have no time to maintain this library, so I'll archive this repo. Sorry about that and thanks for being helpful.

wkoch avatar Jun 28 '22 22:06 wkoch