Skip to content

Commit 65bcdeb

Browse files
committed
Enable altSelFn again when there's no relay switching; remove old config files
1 parent e87910f commit 65bcdeb

12 files changed

+27
-487
lines changed

sixtube_lm/configs/v5-4tube.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//UNDB v5, 4-tube display
2+
13
const byte displaySize = 4; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
24

35
// available clock functions, and unique IDs (between 0 and 200)

sixtube_lm/configs/v5-6tube-red.h

Lines changed: 0 additions & 93 deletions
This file was deleted.

sixtube_lm/configs/v5-6tube-rotary.h

Lines changed: 0 additions & 93 deletions
This file was deleted.

sixtube_lm/configs/v5-6tube.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//UNDB v5, 6-tube display
2+
13
const byte displaySize = 6; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
24

35
// available clock functions, and unique IDs (between 0 and 200)

sixtube_lm/configs/v8-4tube.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//Unmodified UNDB v8 with LED and relay disabled, and buttons as labeled, with 4-digit display.
2+
13
const byte displaySize = 4; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
24

35
// available clock functions, and unique IDs (between 0 and 200)
@@ -56,8 +58,9 @@ const byte enableSoftAlarmSwitch = 1;
5658
// 1 = yes. Alarm can be switched on and off when clock is displaying the alarm time (fnIsAlarm).
5759
// 0 = no. Alarm will be permanently on. Use with switched relay if the appliance has its own switch on this relay circuit.
5860
const byte enableSoftPowerSwitch = 1; //works with switched relay only
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).
61+
// 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).
6062
// 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.
63+
const byte altSelFn = fnIsAlarm; //If no switched relay or no soft power switch, pressing Alt will jump straight to this function (or back to Time).
6164

6265
//LED circuit control
6366
const char ledPin = -1;

sixtube_lm/configs/v8-6tube.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//Unmodified UNDB v8 with LED and relay disabled, and buttons as labeled, with 6-digit display.
2+
13
const byte displaySize = 6; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
24

35
// available clock functions, and unique IDs (between 0 and 200)
@@ -56,8 +58,9 @@ const byte enableSoftAlarmSwitch = 1;
5658
// 1 = yes. Alarm can be switched on and off when clock is displaying the alarm time (fnIsAlarm).
5759
// 0 = no. Alarm will be permanently on. Use with switched relay if the appliance has its own switch on this relay circuit.
5860
const byte enableSoftPowerSwitch = 1; //works with switched relay only
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).
61+
// 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).
6062
// 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.
63+
const byte altSelFn = fnIsAlarm; //If no switched relay or no soft power switch, pressing Alt will jump straight to this function (or back to Time).
6164

6265
//LED circuit control
6366
const char ledPin = -1;

sixtube_lm/configs/v8a-6tube-relayswitch-pwm.h

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)