You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: arduino-nixie/arduino-nixie.ino
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ const bool vDev = 1;
22
22
#endif
23
23
24
24
/*Some variables are backed by persistent storage. These are referred to by their location in that storage. See storage.cpp.
25
-
Values for these are bytes (0 to 255) or ints (-32768 to 32767) where high byte is loc and low byte is loc+1.
25
+
Values for these are bytes (0 to 255) or signed 16-bit ints (-32768 to 32767) where high byte is loc and low byte is loc+1.
26
26
In updateDisplay(), special setting formats are deduced from the option max value (max 1439 is a time of day, max 156 is a UTC offset, etc)
27
27
and whether a value is an int or byte is deduced from whether the max value > 255.
28
28
If adding more variables, be sure to increase STORAGE_SPACE in storage.cpp (and use the ones marked [free] below first).
@@ -41,7 +41,7 @@ These ones are set outside the options menu (defaults defined in initEEPROM()):
41
41
const unsigned int FN_SUN = 1<<2; //4
42
42
const unsigned int FN_WEATHER = 1<<3; //8
43
43
9 NTP sync on
44
-
15 DST on
44
+
15 DST on (last known state - set indirectly via time sets and such)
45
45
46
46
These ones are set inside the options menu (defaults defined in arrays below).
47
47
Some are skipped when they wouldn't apply to a given clock's hardware config, see fnOptScroll(); these ones will also be set at startup to the start= values, see setup(). Otherwise, make sure these ones' defaults work for all configs.
//|| (!ENABLE_DATE_RISESET && (optLoc==10||optLoc==12)) //date rise/set disabled in config: skip geography - don't skip utc offset as that's now used when setting clock from network ||optLoc==14
0 commit comments