From cd6afd7cad53107069233adb208863393688de7d Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 30 Apr 2023 15:37:01 +0200 Subject: New version of the clock on an ESP32: start getting time from ntp --- arduino_sketch/fuzzy_alarm_clock_esp32/config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arduino_sketch/fuzzy_alarm_clock_esp32/config.h (limited to 'arduino_sketch/fuzzy_alarm_clock_esp32/config.h') 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" -- cgit v1.2.3