diff --git a/Adafruit_HTU21DF.cpp b/Adafruit_HTU21DF.cpp index 6c3d552..1a9a741 100644 --- a/Adafruit_HTU21DF.cpp +++ b/Adafruit_HTU21DF.cpp @@ -48,7 +48,7 @@ float Adafruit_HTU21DF::readTemperature(void) { Wire.write(HTU21DF_READTEMP); Wire.endTransmission(); - delay(10); // add delay between request and actual read! + delay(50); // add delay between request and actual read! Wire.requestFrom(HTU21DF_I2CADDR, 3); while (!Wire.available()) {} @@ -74,7 +74,7 @@ float Adafruit_HTU21DF::readHumidity(void) { Wire.write(HTU21DF_READHUM); Wire.endTransmission(); - delay(10); // add delay between request and actual read! + delay(50); // add delay between request and actual read! Wire.requestFrom(HTU21DF_I2CADDR, 3); while (!Wire.available()) {}