Update espmega_iot_core.cpp
This commit is contained in:
parent
3cd06fc7d4
commit
503700c5a5
|
@ -754,7 +754,7 @@ void publish_env_state()
|
|||
{
|
||||
Serial.printf("roomtemp.txt=\"%.01fC\"", current_room_temp);
|
||||
lcd_send_stop_bit();
|
||||
Serial.printf("roomhumid.txt=\"%d%\"",current_room_humid);
|
||||
Serial.printf("roomhumid.txt=\"%d%%\"", (int)current_room_humid);
|
||||
lcd_send_stop_bit();
|
||||
}
|
||||
break;
|
||||
|
@ -821,7 +821,7 @@ void lcd_refresh()
|
|||
case 4:
|
||||
Serial.printf("roomtemp.txt=\"%.01fC\"", current_room_temp);
|
||||
lcd_send_stop_bit();
|
||||
Serial.printf("roomhumid.txt=\"%.01f%\"",current_room_humid);
|
||||
Serial.printf("roomhumid.txt=\"%d%%\"", (int)current_room_humid);
|
||||
lcd_send_stop_bit();
|
||||
if (ac_mode != 2)
|
||||
panel.writeStr("temp.txt", String(ac_temperature) + "C");
|
||||
|
|
Loading…
Reference in New Issue