Upload your code via the ide, and test. Then you can use a command line tool to save the save area of eprom to a file - which board are you using as the method would be different for each board.
Also - the saved code might not work on a new version of the firmware, as the addresses of functions can change - so any oninit() might not work correctly with an updated firmware.
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.
Upload your code via the ide, and test. Then you can use a command line tool to save the save area of eprom to a file - which board are you using as the method would be different for each board.
Also - the saved code might not work on a new version of the firmware, as the addresses of functions can change - so any
oninit()
might not work correctly with an updated firmware.