• Software I2c fails too on the ESP32.

    Result with soft I2c:

    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
    

    The Uncaught CRC Error comes from this line of the module.

About

Avatar for AkosLukacs @AkosLukacs started