add time, button ui

This commit is contained in:
vadim committed 2026-10-27 18:35:00 +03:00
1 parent 1d7af0615e
commit dbfe5bf7cf
4 files changed
+63 -26

No files matched your search

+7 -2
View File
@@ -1,8 +1,8 @@
#pragma once
// ---------- Wi-Fi ----------
#define WIFI_SSID "your_ssid"
#define WIFI_PASSWORD "your_password"
#define WIFI_SSID "skynet"
#define WIFI_PASSWORD "0218kirill"
#define WIFI_CONNECT_TIMEOUT_MS 15000
// If the station connection fails, the ESP32 starts its own access point
@@ -11,6 +11,11 @@
#define MDNS_HOSTNAME "volume" // http://volume.local
// ---------- Time (NTP, works only in station mode) ----------
#define NTP_SERVER1 "pool.ntp.org"
#define NTP_SERVER2 "time.google.com"
#define TIME_ZONE "MSK-3" // POSIX TZ string, e.g. "CET-1CEST,M3.5.0,M10.5.0/3"
// ---------- Pins (chosen to not clash with the TFT pins in platformio.ini) ----------
#define PIN_ENC_CLK 32
#define PIN_ENC_DT 33