@allObjects, thank you for these detailed explanations, I understand how it works.
However, I am still turning around my problem. I believe my code follows to what is explained above.
Test 1: I plug Espruino, download the code and type onInit() : it works.
Test 2: I plug Espruino, download the code, save(), unplug replug : doesn't start correctly
Test 3: I plug Espruino, download the code, save(), unplug replug : doesn't start correctly, in the IDE click on top left icon to reconnect the IDE to Espruino, magically it starts to work correctly.
What happens when I click on the connection icon in the IDE?
Thanks again
GeekBot
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.
@allObjects, thank you for these detailed explanations, I understand how it works.
However, I am still turning around my problem. I believe my code follows to what is explained above.
Test 1: I plug Espruino, download the code and type onInit() : it works.
Test 2: I plug Espruino, download the code, save(), unplug replug : doesn't start correctly
Test 3: I plug Espruino, download the code, save(), unplug replug : doesn't start correctly, in the IDE click on top left icon to reconnect the IDE to Espruino, magically it starts to work correctly.
What happens when I click on the connection icon in the IDE?
Thanks again
GeekBot