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
functions are "functions" in code, but not described as such in operating instructions; night/away "shutoff" rather than "mode"; relay / setting / timer countdown are still modes
Copy file name to clipboardExpand all lines: TODO.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
* Option to display weekdays as Sun=0 or Sun=1 (per Portuguese!)
6
6
* When setting times of day, make 1439 (minutes) roll over to 0 and vice versa
7
7
* Implement options for full date every 5 minutes
8
-
* Is it possible to trip the chime *after* determining if we're in night mode or not
8
+
* Is it possible to trip the chime *after* determining if we're in night shutoff or not
9
9
* Reenable rotary encoder with libraries with workable licenses
10
10
* In display code, consider using `delayMicroseconds()` which, with its tighter resolution, may give better control over fades and dim levels
11
11
* in `checkInputs()`, can all this if/else business be defined at load instead of evaluated every sample? OR is it compiled that way? maybe use `#ifdef`
switch(readEEPROM(46,false)) { //how often should the routine run?
730
730
case0: //every day
731
-
if(readEEPROM(27,false)>0? //is night mode enabled?
732
-
tod.second()==0 && tod.hour()*60+tod.minute()==readEEPROM(28,true): //if so, at start of night mode (at second :00 before dim is in effect)
731
+
if(readEEPROM(27,false)>0? //is night shutoff enabled?
732
+
tod.second()==0 && tod.hour()*60+tod.minute()==readEEPROM(28,true): //if so, at start of night shutoff (at second :00 before dim is in effect)
733
733
tod.second()==1 && tod.hour()*60+tod.minute()==0) //if not, at 00:00:01
734
734
cleanRemain = 51; //run routine for five cycles
735
735
break;
@@ -809,7 +809,7 @@ void checkRTC(bool force){
809
809
} //end natural second
810
810
811
811
//Finally, update the display, whether natural tick or not, as long as we're not setting or on a scrolled display (unless forced eg. fn change)
812
-
//This also determines night/away mode, which is why strikes will happen if we go into off at top of hour, and not when we come into on at the top of the hour TODO find a way to fix this
812
+
//This also determines night/away shutoff, which is why strikes will happen if we go into off at top of hour, and not when we come into on at the top of the hour TODO find a way to fix this
813
813
//Also skip updating the display if this is date and not being forced, since its pages take some calculating that cause it to flicker
// 0 = no. Alarm will be permanently on. Use with switched relay if the appliance has its own switch on this relay circuit.
52
52
constbyteenableSoftPowerSwitch=1; //works with switched relay only
53
53
// 1 = yes. Relay can be switched on and off directly with Alt button at any time (except in options menu). This is useful if connecting an appliance (e.g. radio) that doesn't have its own switch, or if replacing the clock unit in a clock radio where the clock does all the switching (e.g. Telechron).
54
-
// 0 = no. Use if the connected appliance has its own power switch (independent of this relay circuit) or does not need to be manually switched. In this case (and/or if there is no switched relay) Alt will act as a mode preset.
54
+
// 0 = no. Use if the connected appliance has its own power switch (independent of this relay circuit) or does not need to be manually switched. In this case (and/or if there is no switched relay) Alt will act as a function preset.
55
55
56
56
//LED circuit control
57
57
constcharledPin=-1;
@@ -61,17 +61,17 @@ const char ledPin = -1;
61
61
constbyteunoffDur=10; //sec
62
62
63
63
// How long (in ms) are the button hold durations?
64
-
constwordbtnShortHold=1000; //for setting the displayed feataure
65
-
constwordbtnLongHold=3000; //for for entering options menu
64
+
constwordbtnShortHold=1000; //for entering setting mode, or hold-setting at low velocity
65
+
constwordbtnLongHold=3000; //for entering options menu, or hold-setting at high velocity
66
66
constwordvelThreshold=0; //ms
67
67
// When an adj up/down input (btn or rot) follows another in less than this time, value will change more (10 vs 1).
68
-
// 0 to disable. Recommend ~150 for rotaries. If you want to use this feature with buttons, extend to ~400.
68
+
// 0 to disable. Recommend ~150 for rotaries. If you want to use this feature with buttons, extend to ~300.
69
69
70
70
// What is the "frame rate" of the tube cleaning and display scrolling? up to 65535 ms
71
71
constwordcleanSpeed=200; //ms
72
72
constwordscrollSpeed=100; //ms - e.g. scroll-in-and-out date at :30 - to give the illusion of a slow scroll that doesn't pause, use (timeoutTempFn*1000)/(displaySize+1) - e.g. 714 for displaySize=6 and timeoutTempFn=5
73
73
74
-
// What are the timeouts for setting and temporarily-displayed modes? up to 65535 sec
74
+
// What are the timeouts for setting and temporarily-displayed functions? up to 65535 sec
0 commit comments