Skip to content

Commit

Permalink
Update Adafruit_HTU21DF.cpp
Browse files Browse the repository at this point in the history
set reset delay to 50ms
  • Loading branch information
ladyada committed Nov 21, 2014
1 parent 0d16717 commit e0e3fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adafruit_HTU21DF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {}
Expand All @@ -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()) {}
Expand Down

0 comments on commit e0e3fc1

Please sign in to comment.