aboutsummaryrefslogtreecommitdiff
path: root/include/user_settings.h
diff options
context:
space:
mode:
authoruser <user@node5.net>2023-12-15 14:59:50 +0100
committeruser <user@node5.net>2023-12-15 14:59:50 +0100
commitbba3635912b334e17b270907b5b4a1d6dfd4be1f (patch)
treebb433c6b9a407cb9f74037b055dc64b2b02de147 /include/user_settings.h
initial commit. clock works + ntp, animations and fade
Diffstat (limited to 'include/user_settings.h')
-rw-r--r--include/user_settings.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/user_settings.h b/include/user_settings.h
new file mode 100644
index 0000000..1538f7d
--- /dev/null
+++ b/include/user_settings.h
@@ -0,0 +1,18 @@
+// #define WIFI_SSID ""
+// #define WIFI_PASSWORD ""
+
+// #define NTP_SERVER "pool.ntp.org" // Don't do a D-Link
+#define NTP_UPDATE_INTERVAL 60000
+
+#ifndef WIFI_SSID
+#error You must specify a WiFi SSID above, remember to uncomment the line
+#endif
+
+#ifndef WIFI_PASSWORD
+#error You must specify a WiFi password above, remember to uncomment the line
+#endif
+
+#ifndef NTP_SERVER
+#error You must specify an NTP server above, remember to uncomment the line
+#endif
+