mirror of
https://github.com/enjoyneering/AHT10.git
synced 2024-10-03 18:09:02 -04:00
Update AHT10_AVR_LCD_i2c.ino
This commit is contained in:
parent
12ed9ae32e
commit
7dc0f3e8e7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user