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
* Option to display weekdays as Sun=0 or Sun=1 (per Portuguese!)
4
+
* Implement options for full date every 5 minutes
5
+
* Is it possible to trip the chime *after* determining if we're in night mode or not
6
+
* Reenable rotary encoder with libraries with workable licenses
7
+
* In display code, consider using `delayMicroseconds()` which, with its tighter resolution, may give better control over fades and dim levels
8
+
* 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`
9
+
* in `ctrlEvt()`, could we do release/shorthold on mainSel so we can exit without making changes?
Copy file name to clipboardExpand all lines: sixtube_lm/sixtube_lm.ino
+7-13Lines changed: 7 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,13 @@
1
-
// Digital clock code for the Arduino Nano in RLB Designs' Universal Nixie Driver Board v5.0
1
+
// Digital clock code for the Arduino Nano in RLB Designs' Universal Nixie Driver Board
2
2
// featuring timekeeping by DS3231 RTC, driving up to six digits multiplexed 3x2 via two SN74141 driver chips
3
-
// An alternate sketch by Luke McKenzie (luke@theclockspot.com) - https://github.com/clockspot/arduino-nixie
4
-
// based on original sketch by Robin Birtles (rlb-designs.com) and Chris Gerekos
5
-
// based on http://arduinix.com/Main/Code/ANX-6Tube-Clock-Crossfade.txt
6
-
7
-
//TODO: implement options for full date every 5 minutes
8
-
//TODO: see other TODOs throughout
9
-
//TODO: is it possible to trip the chime *after* determining if we're in night mode or not
10
-
//TODO: reenable rotary encoder with libraries with workable licenses
3
+
// Sketch by Luke McKenzie (luke@theclockspot.com) - https://github.com/clockspot/arduino-nixie
4
+
// Inspired by original sketch by Robin Birtles (rlb-designs.com) and Chris Gerekos
5
+
// Display cycling code derived from http://arduinix.com/Main/Code/ANX-6Tube-Clock-Crossfade.txt
11
6
12
7
////////// Hardware configuration //////////
13
8
//Include the config file that matches your hardware setup. If needed, duplicate an existing one.
14
9
15
10
#include"configs/v8c-6tube-relayswitch-pwm-top.h"
16
-
// #include "configs/v5-6tube-red.h"
17
11
18
12
19
13
////////// Other includes, global consts, and vars //////////
@@ -31,8 +25,8 @@ These ones are set outside the options menu (defaults defined in initEEPROM()):
31
25
3-4 Day count year
32
26
5 Day count month
33
27
6 Day count date
34
-
7 Alt function (if not powerswitching)
35
-
( 7-15 are available )
28
+
7 Function preset (done by Alt when not power-switching)
29
+
( 8-15 are available )
36
30
37
31
These ones are set inside the options menu (defaults defined in arrays below).
38
32
Some are skipped when they wouldn't apply to a given clock's hardware config, see fnOptScroll(); these ones will also be set at startup to the start= values, see setup(). Otherwise, make sure these ones' defaults work for all configs.
0 commit comments