From 34cd7090172f49ce6f9c07b47583563728366e5a Mon Sep 17 00:00:00 2001 From: hans-jurgen Date: Sun, 5 Jan 2025 21:01:13 +0100 Subject: [PATCH] 2025-01-0500 --- platformio.ini | 11 ++++------- src/main.cpp | 7 +------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/platformio.ini b/platformio.ini index a4fa7ac..e269b69 100644 --- a/platformio.ini +++ b/platformio.ini @@ -55,8 +55,8 @@ build_flags = build_flags = ${env.build_flags} -DILI9341_2_DRIVER - -DSTASSID=\"FRITZ!Box7362SL\" - -DSTAPSK=\"BorisundEva2007\" + -DSTASSID=\"MagentaWLAN-RGDO\" + -DSTAPSK=\"93329248424922704583\" [env:cyd2usb] build_flags = @@ -64,8 +64,8 @@ build_flags = -DST7789_DRIVER -DTFT_RGB_ORDER=TFT_BGR -DTFT_INVERSION_OFF - -DSTASSID=\"FRITZ!Box7362SL\" - -DSTAPSK=\"BorisundEva2007\" + -DSTASSID=\"MagentaWLAN-RGDO\" + -DSTAPSK=\"93329248424922704583\" [env:cydboris] build_flags = @@ -73,6 +73,3 @@ build_flags = -DILI9341_2_DRIVER -DSTASSID=\"FRITZ!Box7362SL\" -DSTAPSK=\"BorisundEva2007\" - -DGATEWAY=\"192.168.2.1\" - -DDNS=\"192.168.2.1\" - -DKMYIP=\"192.168.2.41\" diff --git a/src/main.cpp b/src/main.cpp index 663b37b..ef77a60 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -322,12 +322,7 @@ void setup() { Serial.printf("SD Card Size: %llu MB\n", cardSize); listDir(SD, "/", 0); - /* createDir(SD, "/mydir"); - listDir(SD, "/", 0); - removeDir(SD, "/mydir"); - listDir(SD, "/", 2); - testFileIO(SD, "/hello.txt"); - deleteFile(SD, "/hello.txt"); */ + readFile(SD,"/setup/wlan.ini"); // ---------------------------------End SD Karte ------------------- zeige_IP(0, 0); // Initialize a NTPClient to get time