Compare commits

..

No commits in common. "0a3a39a7e8366a06b8b4269c6d2d06426629924c" and "fd493ee596d356dad2fa33ee0e2363969ffa5002" have entirely different histories.

3 changed files with 27 additions and 7 deletions

View File

@ -12,7 +12,7 @@
platform = espressif32
board = wt32-eth01
framework = arduino
lib_deps = siwats/ESPMegaPROR3@^1.2.1
lib_deps = siwats/ESPMegaPROR3@^1.1.5
knolleary/PubSubClient@^2.8
ivanseidel/ArduinoThread@^2.1.1
arduino-libraries/Arduino_BuiltIn@^1.0.0
@ -21,4 +21,3 @@ lib_deps = siwats/ESPMegaPROR3@^1.2.1
robtillaart/DHTNEW@^0.4.18
seithan/Easy Nextion Library@^1.0.6
monitor_speed = 115200
board_build.partitions = no_ota.csv

View File

@ -5,6 +5,21 @@ void lcd_send_stop_bit() {
Serial.write(0xFF);
Serial.write(0xFF);
}
int lcd_get_int() {
return 0;
}
float lcd_get_float() {
}
String lcd_get_str() {
}
String lcd_set_var(String var, String value) {
}
void lcd_send_command(String command) {
lcd_send_stop_bit();
@ -12,6 +27,14 @@ void lcd_send_command(String command) {
lcd_send_stop_bit();
}
String lcd_wait_response() {
}
void lcd_touch_callback(int page, int id) {
}
void lcd_reset() {
lcd_send_stop_bit();
lcd_send_command("rest");

View File

@ -816,10 +816,8 @@ void lcd_refresh()
}
void lcd_top_bar_update()
{
char time_buffer[15];
//rtctime_t time = ESPMega_getTime();
//sprintf(time_buffer, "%02d:%02d",time.hours,time.minutes);
//panel.writeStr("time.txt", time_buffer);
String time_str = String(rtc.getHour()) + ":" + String(rtc.getMinute());
panel.writeStr("time.txt", time_str);
panel.writeNum("server.pic", standalone ? 4 : 5);
panel.writeNum("lan.pic", ETH.linkUp() ? 3 : 2);
}