• The problem is reproducible also with this code:

    g.clear();
    
    let test = (e)=>{
      if (!e.lastTime) print("\n");
      if (e.state) print("\n");
      print(e);
    };
    
    setWatch(test, BTN, {repeat:true, edge:"both"});
    

    ... when set as the current clock (I set daisy as the clock and overwrote its code with the above).

    I look at the prints in the Web IDE console field to see the problem when running this code.

    So that should narrow it down some more. Something about setWatch and holding the button throughout a boot cycle?

    If I release the button ASAP when the Loading... message appears -> no problem.
    If I release the button only after the Loading... message has been showing for a while (e.g. some seconds) -> problem manifests.

About

Avatar for Ganblejs @Ganblejs started