• With v1.95 on the BBC micro:bit the button watch only fires 1 time.

    setWatch(function(e) {
      if (e.state) console.log("Released");
      else console.log("Pressed");
    }, BTN1, {repeat:true, debounce:20, edge:"both"});
    

    Reverting back to v1.94 this works as expected on the micro:bit.

    This code work OK on Puck.js with v1.95

About

Avatar for don @don started