From 7dc0f3e8e7b2667a18bfafbe9bddc95294b23c10 Mon Sep 17 00:00:00 2001 From: enjoyneering Date: Fri, 20 Mar 2020 10:10:02 -0400 Subject: [PATCH] Update AHT10_AVR_LCD_i2c.ino --- examples/AHT10_AVR_LCD_i2c/AHT10_AVR_LCD_i2c.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/AHT10_AVR_LCD_i2c/AHT10_AVR_LCD_i2c.ino b/examples/AHT10_AVR_LCD_i2c/AHT10_AVR_LCD_i2c.ino index 76374c8..4e49ae1 100644 --- a/examples/AHT10_AVR_LCD_i2c/AHT10_AVR_LCD_i2c.ino +++ b/examples/AHT10_AVR_LCD_i2c/AHT10_AVR_LCD_i2c.ino @@ -63,14 +63,14 @@ void setup() /* AHT10 connection check */ while (myAHT10.begin() != true) { - lcd.print(F("AHT10 error")); //(F()) saves string to flash & keeps dynamic memory free + lcd.print(F("AHT10 not connected or fail to load calibration coefficient")); //(F()) saves string to flash & keeps dynamic memory free delay(5000); } - lcd.clear(); - //Wire.setClock(400000); //experimental I2C speed! 400KHz, default 100KHz + lcd.clear(); + lcd.print(F("AHT10 OK")); delay(2000);