You use:
I2C1.setup({sda:D4, scl:D5, bitrate:100000});
Try:
I2C1.setup({sda:D4, scl:D5});
I know that the bitrate gives a reset.
@Frida 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.
You use:
Try:
I know that the bitrate gives a reset.