You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Can you just try a single setWatch(pulseHnd,pulsePort,{repeat:true¬≠,edge:0,debounce:5}); and see if that behaves any differently?

    What you're doing with the two calls is setting up two debounce instances, one for rising and one for falling. While you'd expect them to work the same way, it's possible that there's some problem there.


Avatar for Gordon @Gordon started