From a0d2e03058678b204c8d4ca3144f6a2a7327227f Mon Sep 17 00:00:00 2001 From: "NTEN\\Nenninger" Date: Sat, 1 Apr 2023 13:19:25 +0200 Subject: [PATCH] =?UTF-8?q?V2.20=20230331=20OV-Alzenau=20in=20RST=20Karlst?= =?UTF-8?q?adt=20ge=C3=A4ndert=20(Name=20beim=20Booten)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ESPNTUhrPx.ino | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/ESPNTUhrPx.ino b/ESPNTUhrPx.ino index b6082c0..fc89f3d 100644 --- a/ESPNTUhrPx.ino +++ b/ESPNTUhrPx.ino @@ -1,4 +1,4 @@ -#define VERSION (char *) "V2.19" +#define VERSION (char *) "V2.20" /* V2.12 230205 neues SDK 8266; AP+Wifi Client; lokaleip eingebaut @@ -9,6 +9,7 @@ V2.17 230227 alle unbekannten Seiten Leiten auf die IP um V2.18 230313 Sommerzeitprüfung auch offline eingebaut; Auf doRTCSecond umgebaut; V2.19 230327 Sommerzeit stellt die Uhr jetzt auch vor (nicht zurück); neues SDK + V2.20 230331 OV-Alzenau in RST Karlstadt geändert (Name beim Booten) */ // Pins for LED MATRIX @@ -154,6 +155,24 @@ void doClearLEDs(boolean incFirstLine = false){ display.fillScreen(0); } +void showRST(void){ + uint8_t zeile=20; + uint8_t spalte=1; + spalte += Out5x7Char('R',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('S',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('t',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char(' ',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('K',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('a',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('r',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('l',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('s',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('t',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('a',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('d',spalte,zeile,255,255,255)+1; + spalte += Out5x7Char('t',spalte,zeile,255,255,255)+1; +} + void showOVALZ(void){ uint8_t zeile=20; uint8_t spalte=8; @@ -681,7 +700,8 @@ void setup() { display.setFastUpdate(true); doClearLEDs(true); - showOVALZ(); + //showOVALZ(); + showRST(); showNTOOLS(); display_update_enable(true);