Skip to content

Commit

Permalink
Add TODO file; remove tests for encoder, v8a, v8b, and weekday; READM…
Browse files Browse the repository at this point in the history
…E tweaks
  • Loading branch information
clockspot committed Oct 27, 2018
1 parent 12b6c0f commit 204f2bc
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 596 deletions.
11 changes: 11 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To-dos

* Option to display weekdays as Sun=0 or Sun=1 (per Portuguese!)
* Implement options for full date every 5 minutes
* Is it possible to trip the chime *after* determining if we're in night mode or not
* Reenable rotary encoder with libraries with workable licenses
* In display code, consider using `delayMicroseconds()` which, with its tighter resolution, may give better control over fades and dim levels
* 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`
* in `ctrlEvt()`, could we do release/shorthold on mainSel so we can exit without making changes?

See other TODOs throughout code.
213 changes: 0 additions & 213 deletions encoder_test/encoder_test.ino

This file was deleted.

20 changes: 7 additions & 13 deletions sixtube_lm/sixtube_lm.ino
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
// Digital clock code for the Arduino Nano in RLB Designs' Universal Nixie Driver Board v5.0
// Digital clock code for the Arduino Nano in RLB Designs' Universal Nixie Driver Board
// featuring timekeeping by DS3231 RTC, driving up to six digits multiplexed 3x2 via two SN74141 driver chips
// An alternate sketch by Luke McKenzie (luke@theclockspot.com) - https://github.com/clockspot/arduino-nixie
// based on original sketch by Robin Birtles (rlb-designs.com) and Chris Gerekos
// based on http://arduinix.com/Main/Code/ANX-6Tube-Clock-Crossfade.txt

//TODO: implement options for full date every 5 minutes
//TODO: see other TODOs throughout
//TODO: is it possible to trip the chime *after* determining if we're in night mode or not
//TODO: reenable rotary encoder with libraries with workable licenses
// Sketch by Luke McKenzie (luke@theclockspot.com) - https://github.com/clockspot/arduino-nixie
// Inspired by original sketch by Robin Birtles (rlb-designs.com) and Chris Gerekos
// Display cycling code derived from http://arduinix.com/Main/Code/ANX-6Tube-Clock-Crossfade.txt

////////// Hardware configuration //////////
//Include the config file that matches your hardware setup. If needed, duplicate an existing one.

#include "configs/v8c-6tube-relayswitch-pwm-top.h"
// #include "configs/v5-6tube-red.h"


////////// Other includes, global consts, and vars //////////
Expand All @@ -31,8 +25,8 @@ These ones are set outside the options menu (defaults defined in initEEPROM()):
3-4 Day count year
5 Day count month
6 Day count date
7 Alt function (if not power switching)
( 7-15 are available )
7 Function preset (done by Alt when not power-switching)
( 8-15 are available )
These ones are set inside the options menu (defaults defined in arrays below).
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.
Expand Down Expand Up @@ -298,7 +292,7 @@ void ctrlEvt(byte ctrl, byte evt){
startSet(timerInitial/60,0,1080,1); break;
case fnIsDayCount: //set year like date, but from eeprom like startOpt
startSet(readEEPROM(3,true),2000,9999,1); break;
case fnIsTemp: //is this where we do the calibration? TODO
case fnIsTemp: //could do calibration here if so inclined
case fnIsTubeTester:
default: break;
}
Expand Down
Loading

0 comments on commit 204f2bc

Please sign in to comment.