Skip to content

Commit 5856a44

Browse files
authored
Merge pull request #7 from clockspot/dev
Dev
2 parents 54c0a2c + e207f50 commit 5856a44

10 files changed

+227
-317
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
[The latest release can be downloaded here.](https://github.com/clockspot/arduino-nixie/releases/latest) Skip to [Hardware Configuration](#hardware-configuration) for details on tweaking the sketch.
1414

15-
# Operating instructions, v1.7.0
15+
# Operating instructions, v1.7+
1616

1717
The clock displays its software version when powered up (as of v1.6). [Instructions for earlier versions are here.](https://github.com/clockspot/arduino-nixie/releases)
1818

arduino-nixie/arduino-nixie.ino

Lines changed: 138 additions & 68 deletions
Large diffs are not rendered by default.

arduino-nixie/configs/v5-4tube.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
const byte displaySize = 4; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
44

5-
// available clock functions, and unique IDs (between 0 and 200)
6-
const byte fnIsTime = 0;
7-
const byte fnIsDate = 1;
8-
const byte fnIsAlarm = 2;
9-
const byte fnIsTimer = 3;
10-
const byte fnIsTemp = 4;
11-
const byte fnIsTubeTester = 5; //cycles all digits on all tubes 1/second, similar to anti-cathode-poisoning cleaner
12-
// functions enabled in this clock, in their display order. Only fnIsTime is required
13-
const byte fnsEnabled[] = {fnIsTime, fnIsDate, fnIsAlarm, fnIsTimer}; //, fnIsTemp, fnIsTubeTester
14-
// To control which of these display persistently vs. switch back to Time after a few seconds, search "Temporary-display function timeout"
5+
// Which functionality is enabled in this clock?
6+
// Related options will also be enabled in the options menu.
7+
const bool enableDate = true;
8+
const bool enableDateCounter = true; // Adds a "page" to the date with an anniversary counter
9+
const bool enableDateSunriseSunset = true; // Adds "pages" to the date with sunrise/sunset times
10+
const bool enableAlarm = true;
11+
const bool enableAlarmAutoskip = true;
12+
const bool enableAlarmFibonacci = true;
13+
const bool enableTimer = true;
14+
const bool enableChime = true;
15+
const bool enableNightShutoff = true; // If disabled, tubes will be full brightness all the time.
16+
const bool enableAwayShutoff = true; // Requires night shutoff.
17+
const bool enableTemp = false; //Temperature per DS3231 - will read high – leave false for production
18+
const bool enableTest = false; //Cycles through all tubes – leave false for production
1519

1620
// These are the UNDB v5 board connections to Arduino analog input pins.
1721
// S1/PL13 = Reset

arduino-nixie/configs/v5-6tube.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
const byte displaySize = 6; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
44

5-
// available clock functions, and unique IDs (between 0 and 200)
6-
const byte fnIsTime = 0;
7-
const byte fnIsDate = 1;
8-
const byte fnIsAlarm = 2;
9-
const byte fnIsTimer = 3;
10-
const byte fnIsTemp = 5;
11-
const byte fnIsTubeTester = 6; //cycles all digits on all tubes 1/second, similar to anti-cathode-poisoning cleaner
12-
// functions enabled in this clock, in their display order. Only fnIsTime is required
13-
const byte fnsEnabled[] = {fnIsTime, fnIsDate, fnIsAlarm, fnIsTimer}; //, fnIsTemp, fnIsTubeTester
14-
// To control which of these display persistently vs. switch back to Time after a few seconds, search "Temporary-display function timeout"
5+
// Which functionality is enabled in this clock?
6+
// Related options will also be enabled in the options menu.
7+
const bool enableDate = true;
8+
const bool enableDateCounter = true; // Adds a "page" to the date with an anniversary counter
9+
const bool enableDateSunriseSunset = true; // Adds "pages" to the date with sunrise/sunset times
10+
const bool enableAlarm = true;
11+
const bool enableAlarmAutoskip = true;
12+
const bool enableAlarmFibonacci = true;
13+
const bool enableTimer = true;
14+
const bool enableChime = true;
15+
const bool enableNightShutoff = true; // If disabled, tubes will be full brightness all the time.
16+
const bool enableAwayShutoff = true; // Requires night shutoff.
17+
const bool enableTemp = false; //Temperature per DS3231 - will read high – leave false for production
18+
const bool enableTest = false; //Cycles through all tubes – leave false for production
1519

1620
// These are the UNDB v5 board connections to Arduino analog input pins.
1721
// S1/PL13 = Reset

arduino-nixie/configs/v8-4tube.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
const byte displaySize = 4; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
44

5-
// available clock functions, and unique IDs (between 0 and 200)
6-
const byte fnIsTime = 0;
7-
const byte fnIsDate = 1;
8-
const byte fnIsAlarm = 2;
9-
const byte fnIsTimer = 3;
10-
const byte fnIsTemp = 4;
11-
const byte fnIsTubeTester = 5; //cycles all digits on all tubes 1/second, similar to anti-cathode-poisoning cleaner
12-
// functions enabled in this clock, in their display order. Only fnIsTime is required
13-
const byte fnsEnabled[] = {fnIsTime, fnIsDate, fnIsAlarm, fnIsTimer}; //, fnIsTemp, fnIsTubeTester
14-
// To control which of these display persistently vs. switch back to Time after a few seconds, search "Temporary-display function timeout"
5+
// Which functionality is enabled in this clock?
6+
// Related options will also be enabled in the options menu.
7+
const bool enableDate = true;
8+
const bool enableDateCounter = true; // Adds a "page" to the date with an anniversary counter
9+
const bool enableDateSunriseSunset = true; // Adds "pages" to the date with sunrise/sunset times
10+
const bool enableAlarm = true;
11+
const bool enableAlarmAutoskip = true;
12+
const bool enableAlarmFibonacci = true;
13+
const bool enableTimer = true;
14+
const bool enableChime = true;
15+
const bool enableNightShutoff = true; // If disabled, tubes will be full brightness all the time.
16+
const bool enableAwayShutoff = true; // Requires night shutoff.
17+
const bool enableTemp = false; //Temperature per DS3231 - will read high – leave false for production
18+
const bool enableTest = false; //Cycles through all tubes – leave false for production
1519

1620
// These are the RLB board connections to Arduino analog input pins.
1721
// S1/PL13 = Reset

arduino-nixie/configs/v8-6tube.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
const byte displaySize = 6; //number of tubes in display module. Small display adjustments are made for 4-tube clocks
44

5-
// available clock functions, and unique IDs (between 0 and 200)
6-
const byte fnIsTime = 0;
7-
const byte fnIsDate = 1;
8-
const byte fnIsAlarm = 2;
9-
const byte fnIsTimer = 3;
10-
const byte fnIsTemp = 4;
11-
const byte fnIsTubeTester = 5; //cycles all digits on all tubes 1/second, similar to anti-cathode-poisoning cleaner
12-
// functions enabled in this clock, in their display order. Only fnIsTime is required
13-
const byte fnsEnabled[] = {fnIsTime, fnIsDate, fnIsAlarm, fnIsTimer}; //, fnIsTemp, fnIsTubeTester
14-
// To control which of these display persistently vs. switch back to Time after a few seconds, search "Temporary-display function timeout"
5+
// Which functionality is enabled in this clock?
6+
// Related options will also be enabled in the options menu.
7+
const bool enableDate = true;
8+
const bool enableDateCounter = true; // Adds a "page" to the date with an anniversary counter
9+
const bool enableDateSunriseSunset = true; // Adds "pages" to the date with sunrise/sunset times
10+
const bool enableAlarm = true;
11+
const bool enableAlarmAutoskip = true;
12+
const bool enableAlarmFibonacci = true;
13+
const bool enableTimer = true;
14+
const bool enableChime = true;
15+
const bool enableNightShutoff = true; // If disabled, tubes will be full brightness all the time.
16+
const bool enableAwayShutoff = true; // Requires night shutoff.
17+
const bool enableTemp = false; //Temperature per DS3231 - will read high – leave false for production
18+
const bool enableTest = false; //Cycles through all tubes – leave false for production
1519

1620
// These are the RLB board connections to Arduino analog input pins.
1721
// S1/PL13 = Reset

arduino-nixie/configs/v8c-6tube-top-relay.h

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

arduino-nixie/configs/v8c-6tube-top.h

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

0 commit comments

Comments
 (0)