@@ -34,6 +34,24 @@ AM/PM = time format 12/24 h,
34
34
F = font, : = dots, B = brightness, RI = rotate font 1, RII = rotate font 2, U = rotate font upside down
35
35
Strt = start (second are set to 0 after press the button)
36
36
37
+ How the clock show time (t), date (D) and temerature (T)
38
+ There are few examples
39
+
40
+ Show only time (t) (all 60 seconds). Temperature and date are set to 0
41
+ 0tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt60 second
42
+
43
+ Date (D) is set to 40 second
44
+ 0tttttttttt tttttttttt tttttttttt tttttttttt DDDDDDDDDD DDDDDDDDDD60 second
45
+
46
+ Date (D) is set to 30, temperature (T) is set to 40
47
+ 0tttttttttt tttttttttt tttttttttt DDDDDDDDDD TTTTTTTTTT TTTTTTTTTT60 second
48
+
49
+ Date (D) and temperature (T) are set to 40. Date has priority. Temperature will not show
50
+ 0tttttttttt tttttttttt tttttttttt tttttttttt DDDDDDDDDD DDDDDDDDDD60 second
51
+
52
+ Date (D) and temperature (T) is set to 60. Date has priority. Temperature will not show
53
+ 0DDDDDDDDDD DDDDDDDDDD DDDDDDDDDD DDDDDDDDDD DDDDDDDDDD DDDDDDDDDD60 second
54
+
37
55
38
56
SERIAL COMMUNICATION (9600b)
39
57
You have to send three chars. 1st is function, other two are digits
@@ -49,8 +67,8 @@ H = hour (0 - 23)
49
67
M = minute (0 - 59)
50
68
S = second (0 - 59)
51
69
52
- D = show date (how many second per minute is date shown 00 = no , 60 = always; date is shown last xx second )
53
- t = show time (how many second per minute is temperature shown 00 = no , 60 = always; temperature is shown last xx second )
70
+ D = show date (what second is date shown; 00 = newer , 60 = always)
71
+ t = show time (what second is temperature shown 00 = newer , 60 = always)
54
72
R = rotate font 1
55
73
r = rotate font 2
56
74
U = rotate font UpsideDown
@@ -905,16 +923,17 @@ void WriteTime() {
905
923
showMode = 0 ;
906
924
}
907
925
908
- if (second == showDate && showDate > 0 ) {
909
- // showdate is now & showdate is enabled
910
- showMode = 1 ;
911
- }
912
-
913
926
if (second == showTemperature && showTemperature > 0 ) {
914
927
// showtemp is now & showtemp is enabled
915
928
showMode = 2 ;
916
929
}
917
930
931
+ if (second == showDate && showDate > 0 ) {
932
+ // showdate is now & showdate is enabled
933
+ // date has priority
934
+ showMode = 1 ;
935
+ }
936
+
918
937
if (showTemperature == 60 ) {
919
938
// salways howtemp
920
939
showMode = 2 ;
0 commit comments