From e065cd052a690c1879a99522632176e814fc596e Mon Sep 17 00:00:00 2001 From: enjoyneering Date: Mon, 16 Mar 2020 14:10:38 -0400 Subject: [PATCH] Update AHT10_ESP8266_LCD_i2c.ino --- examples/AHT10_ESP8266_LCD_i2c/AHT10_ESP8266_LCD_i2c.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/AHT10_ESP8266_LCD_i2c/AHT10_ESP8266_LCD_i2c.ino b/examples/AHT10_ESP8266_LCD_i2c/AHT10_ESP8266_LCD_i2c.ino index a130de4..48c1353 100644 --- a/examples/AHT10_ESP8266_LCD_i2c/AHT10_ESP8266_LCD_i2c.ino +++ b/examples/AHT10_ESP8266_LCD_i2c/AHT10_ESP8266_LCD_i2c.ino @@ -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"));