mirror of
https://github.com/enjoyneering/AHT10.git
synced 2024-10-03 18:09:02 -04:00
Update AHT10_ESP8266_LCD_i2c.ino
This commit is contained in:
parent
22614a8a88
commit
e065cd052a
@ -119,7 +119,7 @@ void loop()
|
|||||||
/* prints dynamic humidity data */
|
/* prints dynamic humidity data */
|
||||||
lcd.setCursor(1, 1);
|
lcd.setCursor(1, 1);
|
||||||
|
|
||||||
valueTH = myAHT10.readTemperature(AHT10_USE_READ_DATA); //use same 6-bytes
|
valueTH = myAHT10.readHumidity(AHT10_USE_READ_DATA); //use same 6-bytes
|
||||||
|
|
||||||
if (valueTH != AHT10_ERROR) lcd.print(valueTH);
|
if (valueTH != AHT10_ERROR) lcd.print(valueTH);
|
||||||
else lcd.print(F("xxx"));
|
else lcd.print(F("xxx"));
|
||||||
|
Loading…
Reference in New Issue
Block a user