2025-11-2500

This commit is contained in:
2025-11-25 00:07:14 +01:00
parent 02291ccd33
commit 0171a4b6e4
4 changed files with 14 additions and 3 deletions

BIN
ESP32-connected.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

BIN
ESP32_mini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -90,7 +90,7 @@ build_flags = ${env.build_flags}
-DGATEWAY=\"192.168.127.1\" -DGATEWAY=\"192.168.127.1\"
-DDNS=\"192.168.127.1\" -DDNS=\"192.168.127.1\"
-DSECONDARDNS=\"8.8.8.8\" -DSECONDARDNS=\"8.8.8.8\"
-DMYIP=\"192.168.127.52\" -DMYIP=\"192.168.127.53\"
-DSUBNET=\"255.255.255.0\" -DSUBNET=\"255.255.255.0\"
-Dmqtt_server=\"hjkmqtt.dedyn.io\" -Dmqtt_server=\"hjkmqtt.dedyn.io\"
-DMQTTPORT=61883 -DMQTTPORT=61883

View File

@@ -656,6 +656,17 @@ void setup() {
display_update_enable(true); display_update_enable(true);
//-------------------------------------------------- //--------------------------------------------------
//------- TEST -----------
display.fillRect(31, 5, 2, 6, myRED);
delay(2000);
display.fillRect(31, 5, 2, 6, myGREEN);
delay(2000);
display.fillRect(31, 5, 2, 6, myBLUE);
delay(2000);
display.fillRect(31, 5, 2, 6, myBLACK);
delay(2000);
//----------------------
print_wifi_status(); print_wifi_status();
configTime(0, 0, NTP_SERVER); configTime(0, 0, NTP_SERVER);
// See https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv for Timezone codes for your region // See https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv for Timezone codes for your region