aboutsummaryrefslogtreecommitdiff
path: root/arduino_sketch/fuzzy_alarm_clock_esp32/config.h
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2023-04-30 15:37:01 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2023-04-30 15:42:06 +0200
commitcd6afd7cad53107069233adb208863393688de7d (patch)
tree6a482b8c097e88cdf3568f6191b6293aaeeab8c9 /arduino_sketch/fuzzy_alarm_clock_esp32/config.h
parent84eb89453189f30332bbf96df4f992560ce2e884 (diff)
New version of the clock on an ESP32: start getting time from ntp
Diffstat (limited to 'arduino_sketch/fuzzy_alarm_clock_esp32/config.h')
-rw-r--r--arduino_sketch/fuzzy_alarm_clock_esp32/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arduino_sketch/fuzzy_alarm_clock_esp32/config.h b/arduino_sketch/fuzzy_alarm_clock_esp32/config.h
new file mode 100644
index 0000000..1e505b2
--- /dev/null
+++ b/arduino_sketch/fuzzy_alarm_clock_esp32/config.h
@@ -0,0 +1,15 @@
+#define WIFI_SSID ""
+#define WIFI_PASS ""
+
+#define DEBUG 1
+
+#define NTP_SERV_1 "pool.ntp.org"
+#define NTP_SERV_2 "time.nist.gov"
+
+// TimeZone rule for Europe/Rome including daylight adjustment rules (optional)
+// See https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h
+#define TZ "CET-1CEST,M3.5.0,M10.5.0/3"
+
+// Create the file local_config.h in this directory and override all of the
+// #defines you need
+#include "local_config.h"