Your code is missing the E.on('init',function(){...}) which is required to start your coding after a hardware reset, use load() after a soft reset like reset()
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.
Your code is missing the E.on('init',function(){...}) which is required to start your coding after a hardware reset, use
load()
after a soft reset likereset()