Fixed. The solution I used was to add state change checking using .fell() which you'll see reflected below. I added state change verification using Bounce2.fell(), like so:
if (bouncer.read() == LOW && bouncer.fell()) {
Fixed. The solution I used was to add state change checking using .fell() which you'll see reflected below. I added state change verification using Bounce2.fell(), like so:
if (bouncer.read() == LOW && bouncer.fell()) {