temperature convert time is to short set from 50ms to 60ms
This commit is contained in:
parent
201a8174c6
commit
5ea65cab08
|
@ -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()) {}
|
||||||
|
|
Loading…
Reference in a new issue