From d4012f175000243b046f29a91c8de370123a9c97 Mon Sep 17 00:00:00 2001 From: hans-jurgen Date: Sat, 14 Dec 2024 13:24:02 +0100 Subject: [PATCH 1/3] 2024-12-1400 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7c2d9d4..97e1e75 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,7 @@ char szZeit[20]; int x = 100; char sID[100]; -char ausgabe[100]; +char ausgabe[110]; // The CYD touch uses some non default // SPI pins From 318511d998d9483a6e8033337606514e3a1d93aa Mon Sep 17 00:00:00 2001 From: hans-jurgen Date: Sat, 14 Dec 2024 22:27:51 +0100 Subject: [PATCH 2/3] =?UTF-8?q?2024-12-1401=20keine=20=C3=84nderung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 97e1e75..569aee9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,7 @@ char szZeit[20]; int x = 100; char sID[100]; -char ausgabe[110]; +char ausgabe[100]; // The CYD touch uses some non default // SPI pins @@ -460,6 +460,18 @@ bool getNTPtime(int sec) { } void showTime(tm localTime) { + + + + + + + + + + + + Serial.printf( "%04d-%02d-%02d %02d:%02d:%02d, day %d, %s time\n", localTime.tm_year + 1900, From 20df16be9db46d4acc2947bcb1f3797bc95bbdc6 Mon Sep 17 00:00:00 2001 From: hans-jurgen Date: Sat, 14 Dec 2024 22:33:43 +0100 Subject: [PATCH 3/3] 224-12-1402 --- src/main.cpp | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 569aee9..f0bb208 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -460,30 +460,18 @@ bool getNTPtime(int sec) { } void showTime(tm localTime) { - - - - - - - - - - - - Serial.printf( - "%04d-%02d-%02d %02d:%02d:%02d, day %d, %s time\n", - localTime.tm_year + 1900, - localTime.tm_mon + 1, - localTime.tm_mday, - localTime.tm_hour, - localTime.tm_min, - localTime.tm_sec, - (localTime.tm_wday > 0 ? localTime.tm_wday : 7 ), - (localTime.tm_isdst == 1 ? "summer" : "standard") + "%04d-%02d-%02d %02d:%02d:%02d, day %d, %s time\n", + localTime.tm_year + 1900, + localTime.tm_mon + 1, + localTime.tm_mday, + localTime.tm_hour, + localTime.tm_min, + localTime.tm_sec, + (localTime.tm_wday > 0 ? localTime.tm_wday : 7 ), + (localTime.tm_isdst == 1 ? "summer" : "standard") ); - } +} void zeigeZeit(tm localTime, int x = 0, int y = 0){ sprintf(szZeit,"%02d:%02d:%02d",