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
cfb5fce22e
commit
e5bd12083c
@ -60,10 +60,8 @@ void setup()
|
||||
/* LCD connection check */
|
||||
while (lcd.begin(LCD_COLUMNS, LCD_ROWS, LCD_5x8DOTS, SDA, SCL) != true) //20 colums, 4 rows, 5x8 pixels char size
|
||||
{
|
||||
digitalWrite(LED, LOW);
|
||||
delay(500);
|
||||
digitalWrite(LED, HIGH);
|
||||
delay(500);
|
||||
Serial.println(F("PCF8574 is not connected or lcd pins declaration is wrong. Only pins numbers: 4,5,6,16,11,12,13,14 are legal."));
|
||||
delay(5000);
|
||||
}
|
||||
|
||||
lcd.print(F("PCF8574 is OK")); //(F()) saves string to flash & keeps dynamic memory free
|
||||
|
Loading…
Reference in New Issue
Block a user