Update: Problem partially solved! The "save" code at the end was the culprit, I commented it out and it seems to store the code on flash. Does the IDE have a setting for that?
BUT: after saving, the BT link is gone. I cannot connect any more to the Pixl-multi, unless I erase the project code from it. Actually if I switch the device on (with the application code) while trying to connect, the communication link is visible for a couple seconds, then no more.
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.
Update: Problem partially solved! The "save" code at the end was the culprit, I commented it out and it seems to store the code on flash. Does the IDE have a setting for that?
BUT: after saving, the BT link is gone. I cannot connect any more to the Pixl-multi, unless I erase the project code from it. Actually if I switch the device on (with the application code) while trying to connect, the communication link is visible for a couple seconds, then no more.