temperature convert time is to short set from 50ms to 60ms

This commit is contained in:
Harald Pichler 2017-02-21 20:06:15 +01:00
parent 201a8174c6
commit 5ea65cab08

View file

@ -50,7 +50,7 @@ float Adafruit_HTU21DF::readTemperature(void) {
Wire.write(HTU21DF_READTEMP); Wire.write(HTU21DF_READTEMP);
Wire.endTransmission(); Wire.endTransmission();
delay(50); // add delay between request and actual read! delay(60); // add delay between request and actual read!
Wire.requestFrom(HTU21DF_I2CADDR, 3); Wire.requestFrom(HTU21DF_I2CADDR, 3);
while (!Wire.available()) {} while (!Wire.available()) {}