Compare commits
No commits in common. "0a3a39a7e8366a06b8b4269c6d2d06426629924c" and "fd493ee596d356dad2fa33ee0e2363969ffa5002" have entirely different histories.
0a3a39a7e8
...
fd493ee596
|
@ -12,7 +12,7 @@
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = wt32-eth01
|
board = wt32-eth01
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps = siwats/ESPMegaPROR3@^1.2.1
|
lib_deps = siwats/ESPMegaPROR3@^1.1.5
|
||||||
knolleary/PubSubClient@^2.8
|
knolleary/PubSubClient@^2.8
|
||||||
ivanseidel/ArduinoThread@^2.1.1
|
ivanseidel/ArduinoThread@^2.1.1
|
||||||
arduino-libraries/Arduino_BuiltIn@^1.0.0
|
arduino-libraries/Arduino_BuiltIn@^1.0.0
|
||||||
|
@ -20,5 +20,4 @@ lib_deps = siwats/ESPMegaPROR3@^1.2.1
|
||||||
z3t0/IRremote@^4.2.0
|
z3t0/IRremote@^4.2.0
|
||||||
robtillaart/DHTNEW@^0.4.18
|
robtillaart/DHTNEW@^0.4.18
|
||||||
seithan/Easy Nextion Library@^1.0.6
|
seithan/Easy Nextion Library@^1.0.6
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
board_build.partitions = no_ota.csv
|
|
23
src/lcd.cpp
23
src/lcd.cpp
|
@ -5,6 +5,21 @@ void lcd_send_stop_bit() {
|
||||||
Serial.write(0xFF);
|
Serial.write(0xFF);
|
||||||
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) {
|
void lcd_send_command(String command) {
|
||||||
lcd_send_stop_bit();
|
lcd_send_stop_bit();
|
||||||
|
@ -12,6 +27,14 @@ void lcd_send_command(String command) {
|
||||||
lcd_send_stop_bit();
|
lcd_send_stop_bit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String lcd_wait_response() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void lcd_touch_callback(int page, int id) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void lcd_reset() {
|
void lcd_reset() {
|
||||||
lcd_send_stop_bit();
|
lcd_send_stop_bit();
|
||||||
lcd_send_command("rest");
|
lcd_send_command("rest");
|
||||||
|
|
|
@ -816,10 +816,8 @@ void lcd_refresh()
|
||||||
}
|
}
|
||||||
void lcd_top_bar_update()
|
void lcd_top_bar_update()
|
||||||
{
|
{
|
||||||
char time_buffer[15];
|
String time_str = String(rtc.getHour()) + ":" + String(rtc.getMinute());
|
||||||
//rtctime_t time = ESPMega_getTime();
|
panel.writeStr("time.txt", time_str);
|
||||||
//sprintf(time_buffer, "%02d:%02d",time.hours,time.minutes);
|
|
||||||
//panel.writeStr("time.txt", time_buffer);
|
|
||||||
panel.writeNum("server.pic", standalone ? 4 : 5);
|
panel.writeNum("server.pic", standalone ? 4 : 5);
|
||||||
panel.writeNum("lan.pic", ETH.linkUp() ? 3 : 2);
|
panel.writeNum("lan.pic", ETH.linkUp() ? 3 : 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue