• Hello!

    I have a saved program that sends some data from Espruino to PC via console.log every 100 ms. It works fine until I try to connect from IDE after the board reboot. Once powered up the board begins to do its job every 100 ms and when I connect it says “Ctrl-C while processing interval - removing it”. And as it said the scheduled job is cancelled.

    The underlying reason is \x03 character (Ctrl-C) that IDE sends once connection established:

    ---> "\u0003echo(0);\nconsole.log(\"<<\"+\"<<<\"+JSON.stringify(process.env)+\">>>\"+\">>\");\n"

    OK, it is necessary to check out process.env to setup IDE properly but is there any reason to start with \u0003 in this case?

About

Avatar for nailxx @nailxx started