Ahh. So this isn't a bug in Espruino as far as I know. (Not sure what is causing issue 1 though)
What has happened is onInit is only called on startup - not when you first upload your code. You've set a timeout to occur that uses i2c, and it happens before i2c is initialised.
In 1v67 the i2c error causes an exception, which causes the timeout to be removed.
To fix it simply add the line onInit (); to the end of your code.
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.
Ahh. So this isn't a bug in Espruino as far as I know. (Not sure what is causing issue 1 though)
What has happened is onInit is only called on startup - not when you first upload your code. You've set a timeout to occur that uses i2c, and it happens before i2c is initialised.
In 1v67 the i2c error causes an exception, which causes the timeout to be removed.
To fix it simply add the line
onInit ();
to the end of your code.