Probably you need to call the onInit() function. Now it is defined but not called. Just add: onInit() at the end of the program.
I guess there is no concept of "autoexec.bat" (in this case onInit) so it needs to be explicitely called.
@BogdanG started
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.
Probably you need to call the onInit() function. Now it is defined but not called.
Just add:
onInit()
at the end of the program.
I guess there is no concept of "autoexec.bat" (in this case onInit) so it needs to be explicitely called.