Once you move the console with LoopbackA.setConsole(1) nothing you type in the Web IDE will work.
LoopbackA.setConsole(1)
Ideally you would call it somehow from within Espruino. Eg.:
setWatch(function() { USB.setConsole(); }, BTN, {repeat:true,edge:"rising",debounce:50});
Then when you press the button you get control back.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Once you move the console with
LoopbackA.setConsole(1)
nothing you type in the Web IDE will work.Ideally you would call it somehow from within Espruino. Eg.:
Then when you press the button you get control back.