You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Look at the onInit(){...} function and on its purpose. Place the startup code in it, upload the code again - it will (should) do nothing application-wise - and enter save() in the console... and you are done (save() is saving the code into FLASH from where Espruino will pick it up at the end of saving and on every power-up to com). Powering on the device in disconnected mode will call the onInit() as the last thing of startup.

About

Avatar for allObjects @allObjects started