From fa088db00f84ce1eee4abe605bca283b350646ae Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 6 Nov 2023 23:24:06 +0700 Subject: [PATCH] lcd reinit --- .gitignore | 1 + src/espmega_iot_core.cpp | 5 +++++ src/espmega_iot_core.hpp | 1 + 3 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 89cc49c..8a9fb2f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ .vscode/c_cpp_properties.json .vscode/launch.json .vscode/ipch +.vs/ \ No newline at end of file diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index 578a368..5714960 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -958,6 +958,11 @@ void trigger13() ESP.restart(); } +void trigger14() { + Serial.print("page dashboard"); + lcd_send_stop_bit(); +} + void eeprom_pwm_update() { if (memcmp(pwm_states, pwm_states_eeprom, 16)) diff --git a/src/espmega_iot_core.hpp b/src/espmega_iot_core.hpp index 19d97a2..6acc508 100644 --- a/src/espmega_iot_core.hpp +++ b/src/espmega_iot_core.hpp @@ -77,6 +77,7 @@ void trigger10(); void trigger11(); void trigger12(); void trigger13(); +void trigger14(); void eeprom_retrieve_init(); void eeprom_pwm_update();