Skip to main content
Added edit from question, and rolled back question
Source Link
Greenonline
  • 3.2k
  • 7
  • 37
  • 49

AddedFixed. The solution I used was to add state change verificationchecking using Bounce2.fell() which you'll see reflected below.fell() I added state change verification using Bounce2.fell(), like so:

  if (bouncer.read() == LOW && bouncer.fell()) {

Added state change verification using Bounce2.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()) {
Source Link
C Steph
  • 11
  • 1
  • 3

Added state change verification using Bounce2.fell()