I usually put setTimeout("delete onInit",500); at the end of my onInit, top get back the memory it used before the other timeout events it sets up that initialize things actually go off, so they have space to run (my desk light has to do this)
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.
I usually put setTimeout("delete onInit",500); at the end of my onInit, top get back the memory it used before the other timeout events it sets up that initialize things actually go off, so they have space to run (my desk light has to do this)