E.on('init', onInit()); isn't doing what you expect and could be breaking things.
E.on('init', onInit());
I'd just remove that line...
@Gordon 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.
E.on('init', onInit());
isn't doing what you expect and could be breaking things.I'd just remove that line...