From e0e3fc14428f340fa7c2485dfe1c8270353ff38c Mon Sep 17 00:00:00 2001 From: "Limor \"Ladyada\" Fried" Date: Fri, 21 Nov 2014 18:09:53 -0500 Subject: [PATCH] Update Adafruit_HTU21DF.cpp set reset delay to 50ms --- Adafruit_HTU21DF.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {}