• 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.

About

Avatar for Gordon @Gordon started