I've got that error when wanted to upload it into board
WARNING: Expecting a number or something iterable, got undefined
WARNING: Expecting a number or something iterable, got undefined
=undefined
Uncaught InternalError: Timeout on I2C Write Transmit Mode 2
at line 2 col 55
this.i2c.writeTo(this.addr, reg, value>>8, value);
^
in function "writeRegister" called from line 15 col 52
this.writeRegister(REG.POINTER_CONFIG, config);
^
in function "getADC" called from line 3 col 6
});
^
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've got that error when wanted to upload it into board