tried putting timeout in E.on('init') - nothing. it almost seems as if the init function does not get called when the device is plugged into power.
if i plug it in, connect it to the ide, and then run load(), then it works as intended, but otherwise it doesnt look like it's working. any way to debug?
in fact, try running this and let me know if it works:
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.
tried putting timeout in E.on('init') - nothing. it almost seems as if the init function does not get called when the device is plugged into power.
if i plug it in, connect it to the ide, and then run load(), then it works as intended, but otherwise it doesnt look like it's working. any way to debug?
in fact, try running this and let me know if it works:
for me, it only works when i run load() from command line.. on powerup, nothing happens