-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfiguration.h
More file actions
135 lines (102 loc) · 3.14 KB
/
Configuration.h
File metadata and controls
135 lines (102 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/******************************************************************************
Configuration.h
******************************************************************************/
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
/******************************************************************************
Standard Menu
******************************************************************************/
// Show AM/PM.
#define USE_STD_MODE_AMPM
// Show seconds.
#define USE_STD_MODE_SECONDS
// Show date.
#define USE_STD_MODE_DATE
// Show temperature.
#define USE_STD_MODE_TEMP
// Set an alarm
#define USE_STD_MODE_ALARM
/******************************************************************************
Extended Menu
******************************************************************************/
// MAIN/TIME/TEST titles.
#define USE_EXT_MODE_TITLES
// Languages.
#define ENABLE_LANGUAGE_DE
#define ENABLE_LANGUAGE_DE_MKF
#define ENABLE_LANGUAGE_D3
#define ENABLE_LANGUAGE_CH
#define ENABLE_LANGUAGE_EN
#define ENABLE_LANGUAGE_FR
#define ENABLE_LANGUAGE_IT
#define ENABLE_LANGUAGE_NL
#define ENABLE_LANGUAGE_ES
// Setup to disable "It is".
#define USE_EXT_MODE_IT_IS
// Setup date.
#define USE_EXT_MODE_DATE_MANUALLY
// Setup night on/off.
#define USE_EXT_MODE_NIGHT_OFF
// LED test.
#define USE_EXT_MODE_TEST
/******************************************************************************
Settings
******************************************************************************/
// Hostname. Only A-Z, a-z, 0-9 and -
#define HOSTNAME "QlockWiFive"
// OTA password.
#define OTA_PASS "1234"
// NTP-Server.
#define NTP_SERVER "pool.ntp.org"
// Offset from GMT/UTC.
#define UTC_OFFSET +1
// None technical zero.
//#define NONE_TECHNICAL_ZERO
// Temperature-Sensor.
#define TEMP_OFFSET 5
// Alarm.
#define MAX_BUZZ_TIME 5
// Board.
//#define BOARD_NODEMCU
#define BOARD_WEMOS
// LED on board.
#define ENABLE_SQW_LED
// LED-Driver.
//#define LED_DRIVER_NEOPIXEL
#define LED_DRIVER_NEOPIXELRGBW
//#define LED_DRIVER_LPD8806
//#define LED_DRIVER_LPD8806RGBW
// LED-Layout.
//#define LED_LAYOUT_WAAGERECHT
#define LED_LAYOUT_SENKRECHT
// IR-Remote.
//#define REMOTE_NO_REMOTE
//#define REMOTE_SPARKFUN
//#define REMOTE_MOONCANDLES
//#define REMOTE_LUNARTEC
#define REMOTE_CLT2
//#define REMOTE_APPLE
//#define REMOTE_PHILIPS
//#define REMOTE_HX1838
// Turn off the LED behind the IR-Sensor.
//#define IR_LETTER_OFF_X 8
//#define IR_LETTER_OFF_Y 10
// LDR.
#define LDR_MIN_PERCENT 2
#define LDR_MAX_PERCENT 100
#define LDR_HYSTERESE 50
#define LDR_CHECK_RATE 50
/*
* Welche Uhr soll benutzt werden?
*/
//#define DS1307
#define DS3231
/******************************************************************************
Debug to serial console.
******************************************************************************/
#define SERIAL_SPEED 57600 // Set speed for serial console.
//#define DEBUG // Switch on debug.
//#define DEBUG_TIME // Shows the time every secound.
//#define DEBUG_MATRIX // Renders the matrix to console - German front - Works best with Putty.
//#define DEBUG_SET_DEFAULTS // Sets the EEPROM to defauls on every startup.
#endif