Update AHT10_ESP8266_LCD_i2c.ino

This commit is contained in:
enjoyneering 2020-03-16 14:10:38 -04:00 committed by GitHub
parent 22614a8a88
commit e065cd052a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ void loop()
/* prints dynamic humidity data */
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);
else lcd.print(F("xxx"));