ソースを参照

configuration: Add additional parameters

Helmut Pozimski 1 年間 前
コミット
af8023e760
1 ファイル変更7 行追加1 行削除
  1. 7 1
      main/configuration.h

+ 7 - 1
main/configuration.h

@@ -5,6 +5,7 @@
 #define IP_ADDRESS ""
 #define GATEWAY ""
 #define NETMASK ""
+#define DNS_SERVER ""
 
 // Define the pins used to connect the rtc and display modules here
 #define DS3231_SDA_PIN
@@ -14,4 +15,9 @@
 #define TM1637_DIO_PIN
 
 // Can be set from 0 to 7
-#define DISPLAY_BRIGHTNESS
+#define DISPLAY_BRIGHTNESS
+
+/* Define the local time zone in POSIX format as documented at
+ * https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
+ */
+#define LOCAL_TIMEZONE "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00"