You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • It's very odd about the latency issues. Try just:

    setWatch(function(e) {
    }, BTN, {edge:"both",repeat:true,debounce:50});

    and you should see the LED lights almost instantly (after 50ms since that is the debounce time used here). There's no way it should be taking seconds - sounds like there's something else going on in your code there.


Avatar for Gordon @Gordon started