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: sixtube_lm/configs/v8a-6tube-relayswitch.h
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,9 @@ const byte enableSoftPowerSwitch = 1; //works with switched relay only
59
59
// 1 = yes. Relay can be switched on and off directly when clock is displaying time of day (fnIsTime). 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).
60
60
// 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.
61
61
62
-
//LED circuit control
63
-
constcharledPin=A2;
64
-
// -1 to disable feature; A2 if equipped (UNDB v8)
62
+
//LED circuit control with PWM
63
+
constcharledPin=11;
64
+
// -1 to disable feature; 11 if equipped (UNDB v8 modded)
65
65
66
66
//When display is dim/off, a press will light the tubes for how long?
67
67
constbyteunoffDur=10; //sec
@@ -79,4 +79,21 @@ const word scrollSpeed = 100; //ms - e.g. scroll-in-and-out date at :30 - to giv
79
79
80
80
// What are the timeouts for setting and temporarily-displayed functions? up to 65535 sec
81
81
constunsigned longtimeoutSet=120; //sec
82
-
constunsigned longtimeoutTempFn=5; //sec
82
+
constunsigned longtimeoutTempFn=5; //sec
83
+
84
+
//This clock is 2x3 multiplexed: two tubes powered at a time.
85
+
//The anode channel determines which two tubes are powered,
86
+
//and the two SN74141 cathode driver chips determine which digits are lit.
87
+
//4 pins out to each SN74141, representing a binary number with values [1,2,4,8]
Copy file name to clipboardExpand all lines: sixtube_lm/configs/v8b-6tube-relayswitch.h
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,9 @@ const byte enableSoftPowerSwitch = 1; //works with switched relay only
59
59
// 1 = yes. Relay can be switched on and off directly when clock is displaying time of day (fnIsTime). 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).
60
60
// 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.
61
61
62
-
//LED circuit control
63
-
constcharledPin=A2;
64
-
// -1 to disable feature; A2 if equipped (UNDB v8)
62
+
//LED circuit control with PWM
63
+
constcharledPin=11;
64
+
// -1 to disable feature; 11 if equipped (UNDB v8 modded)
65
65
66
66
//When display is dim/off, a press will light the tubes for how long?
67
67
constbyteunoffDur=10; //sec
@@ -79,4 +79,21 @@ const word scrollSpeed = 100; //ms - e.g. scroll-in-and-out date at :30 - to giv
79
79
80
80
// What are the timeouts for setting and temporarily-displayed functions? up to 65535 sec
81
81
constunsigned longtimeoutSet=120; //sec
82
-
constunsigned longtimeoutTempFn=5; //sec
82
+
constunsigned longtimeoutTempFn=5; //sec
83
+
84
+
//This clock is 2x3 multiplexed: two tubes powered at a time.
85
+
//The anode channel determines which two tubes are powered,
86
+
//and the two SN74141 cathode driver chips determine which digits are lit.
87
+
//4 pins out to each SN74141, representing a binary number with values [1,2,4,8]
0 commit comments