Probably another of my edge cases, but if I have an Interval set in my code of about 100ms or so, and then try to upload new code to my Espruino WiFi I can quite often get the Espruino and the IDE stuck, the upload progress bar is about 1/16th in, the Espruino is otherwise unresponsive and I have to unplug and replug.
However if I connect, run reset() and then upload new code, everything works.
Could the code upload function run reset() by itself? Or otherwise interrupt the running program before it tries to upload?
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.
Probably another of my edge cases, but if I have an Interval set in my code of about 100ms or so, and then try to upload new code to my Espruino WiFi I can quite often get the Espruino and the IDE stuck, the upload progress bar is about 1/16th in, the Espruino is otherwise unresponsive and I have to unplug and replug.
However if I connect, run
reset()
and then upload new code, everything works.Could the code upload function run
reset()
by itself? Or otherwise interrupt the running program before it tries to upload?