More attempts to keep screen from freezing
This commit is contained in:
parent
3c32ca51cb
commit
b8b4bf1fd2
1 changed files with 2 additions and 6 deletions
|
@ -291,10 +291,6 @@ void weatherUpdate(void) {
|
|||
current_bedroom = current["bedroom"];
|
||||
current_lounge = current["lounge"];
|
||||
|
||||
Serial.println(current_outside);
|
||||
Serial.println(current_lounge);
|
||||
Serial.println(current_bedroom);
|
||||
|
||||
Serial.println("Updating EPD with weather");
|
||||
|
||||
epd_set_en_font(ASCII64);
|
||||
|
@ -345,7 +341,7 @@ void loop() {
|
|||
ntpUpdate();
|
||||
|
||||
if (second(now()) >= wakeup_seconds) {
|
||||
epd_wakeup();
|
||||
//epd_wakeup();
|
||||
epd_clear();
|
||||
weatherUpdate();
|
||||
Serial.print("Weather details sent: ");
|
||||
|
@ -357,7 +353,7 @@ void loop() {
|
|||
printDateTime(1);
|
||||
epd_update();
|
||||
delay(3000);
|
||||
epd_enter_stopmode();
|
||||
//epd_enter_stopmode();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue