The code with bounce2 library works perfectly with some adjusts due the circuit.
button[i].fell();
button[i].attach(buttonPin[i], INPUT_PULLUP);
Changed to:
button[i].rose();
button[i].attach(buttonPin[i], INPUT);
The output:

The code with bounce2 library works perfectly with some adjusts due the circuit.
button[i].fell();
button[i].attach(buttonPin[i], INPUT_PULLUP);
Changed to:
button[i].rose();
button[i].attach(buttonPin[i], INPUT);
The output:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.