You are reading a single comment by @Georg and its replies. Click here to read the full conversation.
  • With this:

      setWatch(function (a) {
        digitalWrite(LED2, a.state);
      }, BTN, {repeat:true, debounce:0, edge:'both'});
    

    Press the BTN a few times and the green led remains on sometimes, so the last edge has been missed?

About

Avatar for Georg @Georg started