hi , i have a project that a simple button trigger a loop ( for() ) and after the loop is completed once, the debouncer do it again like i pushed the button again , do you have a command to clear it please ?
ok i think if i change debouncer.read(); by debouncer.fell(); can be solved ?
fell() and rise() are also filtered. read() returns the filtered state of the input : HIGH or LOWfell() returns 1 if the filtered state went from HIGH to LOW since the last update. Returns 0 if not.rose() returns 1 if the filtered state went from LOW to HIGH since the last update. Returns 0 if not.If you are only interested in state changes use fell() and rose().
I meant a schematic of the whole thing: presumably the buttons take the pins to ground?
Yes, they use the arduino's 5v & a resistor to ground