update library
This commit is contained in:
parent
fd493ee596
commit
8a112e8f13
23
src/lcd.cpp
23
src/lcd.cpp
|
@ -5,21 +5,6 @@ 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();
|
||||
|
@ -27,14 +12,6 @@ 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");
|
||||
|
|
|
@ -818,6 +818,10 @@ void lcd_top_bar_update()
|
|||
{
|
||||
String time_str = String(rtc.getHour()) + ":" + String(rtc.getMinute());
|
||||
panel.writeStr("time.txt", time_str);
|
||||
char time_buffer[15];
|
||||
//rtctime_t time = ESPMega_getTime();
|
||||
//sprintf(time_buffer, "%02d:%02d",time.hours,time.minutes);
|
||||
//panel.writeStr("time.txt", time_buffer);
|
||||
panel.writeNum("server.pic", standalone ? 4 : 5);
|
||||
panel.writeNum("lan.pic", ETH.linkUp() ? 3 : 2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue