Update espmega_iot_core.cpp
This commit is contained in:
parent
5f6043e887
commit
d0a7389bf9
|
@ -131,6 +131,12 @@ void setup()
|
|||
lcd_send_stop_bit();
|
||||
lcd_init();
|
||||
lcd_begin();
|
||||
#ifdef ENABLE_EXTERNAL_LCD
|
||||
Serial2.print("rest");
|
||||
Serial2.write(0xFF);
|
||||
Serial2.write(0xFF);
|
||||
Serial2.write(0xFF);
|
||||
#endif
|
||||
lcd_send_command("boot_state.txt=\"Core Initializing . . .\"");
|
||||
Serial.println("Initializing Infrared . . .");
|
||||
lcd_send_command("boot_state.txt=\"Infrared Initializing . . .\"");
|
||||
|
@ -147,12 +153,6 @@ void setup()
|
|||
Serial.println("Jumping to User Code.");
|
||||
user_init();
|
||||
lcd_send_command("page dashboard");
|
||||
#ifdef ENABLE_EXTERNAL_LCD
|
||||
Serial2.print("rest");
|
||||
Serial2.write(0xFF);
|
||||
Serial2.write(0xFF);
|
||||
Serial2.write(0xFF);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue