Uncaught Error: I2C Error: Timeout (rd)
at line 1 col 68
...is.i2c.readFrom(this.addr,3),b=a[0]<<8|a[1]&-4;this.checkCrc...
in function "readTemperature" called from line 41 col 53
console.log('SHT Temperature:', sht.readTemperature());
That this.i2c.readFrom(this.addr,3)... fragment is from the minified module.
Result with hardware I2C:
ERROR: jshI2CRead:, Operation timeout because the bus is busy
Uncaught CRC Error
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.
Software I2c fails too on the ESP32.
Result with soft I2c:
That
this.i2c.readFrom(this.addr,3)
... fragment is from the minified module.Result with hardware I2C:
The
Uncaught CRC Error
comes from this line of the module.