@Frida hmm, thought that this was something you had changed in jshardware.h and mentioned in #1 to stop I2C1.setup({scl:D0, sda:D2, bitrate:400000}); from reseting.
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.
@Frida hmm, thought that this was something you had changed in jshardware.h and mentioned in #1 to stop I2C1.setup({scl:D0, sda:D2, bitrate:400000}); from reseting.
maybe @tve or @Gordon can advise