-
• #2
Just type
save()
on the left-hand side after uploading your code - job done!Everything should resume where it left off - but if you want to run some code specifically at startup, either do
E.on('init', function() { your code })
or create a function calledonInit
- which will get called automatically, for example:function onInit() { digitalPulse(LED1,1,1000); }
(you can also turn on
save on send
in the IDE's options, but that's more advanced - I'd just use
thesave()
method for now)
Hi, I guess it is a quite easy question. How could I load the same program code after changing the battery? Currently it is reset.