Skip to content

Commit 43bf05e

Browse files
committed
Rename to arduino-clock, v2.0.0 (if a bit buggy)!
1 parent 02de84a commit 43bf05e

28 files changed

+126
-125
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Written to support [RLB Designs’](http://rlb-designs.com/) Universal Nixie Dri
3434
* Switch and pulse signals supported on UNDB v9+
3535
* Nano 33 IoT support coming on future versions
3636

37-
[The latest release can be downloaded here.](https://github.com/clockspot/arduino-clock/releases/latest)
37+
[The latest release can be downloaded here.](https://github.com/clockspot/arduino-clock/releases) Please note [known bugs and to-dos.](https://github.com/clockspot/arduino-clock/blob/master/TODO.md)
3838

3939
# Configuration, compilation, and upload
4040

41-
Various options, such as enabled functionality, RTC, display, I/O pins, timeouts, and control behaviors, are specified in a config file. This allows you to maintain configs for multiple clock hardware profiles, and simply include the relevant config at the top of `arduino-nixie.h` before compiling. Several [example configs](https://github.com/clockspot/arduino-clock/tree/master/arduino-clock/configs) are provided, and [`~sample.h`](https://github.com/clockspot/arduino-clock/blob/master/arduino-clock/configs/%7Esample.h) includes all possible options with detailed comments.
41+
Various options, such as enabled functionality, RTC, display, I/O pins, timeouts, and control behaviors, are specified in a config file. This allows you to maintain configs for multiple clock hardware profiles, and simply include the relevant config at the top of `arduino-clock.h` before compiling. Several [example configs](https://github.com/clockspot/arduino-clock/tree/master/arduino-clock/configs) are provided, and [`~sample.h`](https://github.com/clockspot/arduino-clock/blob/master/arduino-clock/configs/%7Esample.h) includes all possible options with detailed comments.
4242

43-
You may also wish to adjust the defaults for the clock’s user-configurable values to best suit its intended use, in case the user performs a hard reset. Some of these are specified in the config; others, for now, are hardcoded in `arduino-nixie.ino` (`optsDef[]` for [settings](https://github.com/clockspot/arduino-clock/blob/master/INSTRUCTIONS.md#settings-menu) and `initEEPROM()` for other values).
43+
You may also wish to adjust the defaults for the clock’s user-configurable values to best suit its intended use, in case the user performs a hard reset. Some of these are specified in the config; others, for now, are hardcoded in `arduino-clock.ino` (`optsDef[]` for [settings](https://github.com/clockspot/arduino-clock/blob/master/INSTRUCTIONS.md#settings-menu) and `initEEPROM()` for other values).
4444

4545
I use the Arduino IDE to compile and upload, due to the use of various Arduino and Arduino-oriented libraries. Make sure the relevant libraries are installed in the Library Manager, per the config in use.
4646

TODO.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# To-dos
22

3-
* Rename project to arduino-clock with first push of v2+ - replace instances of arduino-nixie within
3+
* Startup SEL hold doesn't seem to work with IMU
44
* Reintroduce nixie clean and scroll
55
* Persistent storage on EEPROM - find a solution that writes to flash less often
66
* Network/NTP
7-
* Persistent storage for wi-fi credentials!
87
* Why does the page sometimes drop?
98
* wi-fi credential save fails if keys are part of the string?
109
* DST calc may behave unpredictably between 1–2am on fallback day
11-
* Redo NTP on startup if it failed (networkStartWifi())
10+
* Redo NTP if it failed (networkStartWifi()) - per bad response - how to make it wait a retry period
1211
* Make [2036-ready](https://en.wikipedia.org/wiki/Year_2038_problem#Network_Time_Protocol_timestamps)
1312
* Notice when a leap second is coming and handle it
1413
* When setting page is used to set day counter and date, and the month changes, set date max. For 2/29 it should just do 3/1 probably.

arduino-nixie/arduino-nixie.h renamed to arduino-clock/arduino-clock.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
////////// Hardware configuration //////////
55
//Include the config file that matches your hardware setup. If needed, duplicate an existing one.
66

7-
#include "configs/led-iot.h"
8-
//#include "configs/undb-v9-relay.h"
7+
#include "configs/undb-v9.h"
98

109
////////////////////////////////////////////
1110

arduino-nixie/arduino-nixie.ino renamed to arduino-clock/arduino-clock.ino

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
// Inspired by original sketch by Robin Birtles (rlb-designs.com) and Chris Gerekos
55

66
#include <arduino.h>
7-
#include "arduino-nixie.h";
7+
#include "arduino-clock.h";
88

99
////////// Software version //////////
10-
const byte vMajor = 1;
11-
const byte vMinor = 9;
10+
const byte vMajor = 2;
11+
const byte vMinor = 0;
1212
const byte vPatch = 0;
13-
const bool vDev = 1;
13+
const bool vDev = 0;
1414

1515
////////// Includes //////////
1616

@@ -155,10 +155,10 @@ unsigned int tempValDispLast = 0;
155155
////////// Main code control //////////
156156

157157
void setup(){
158-
Serial.begin(9600);
159-
#ifndef __AVR__ //SAMD only
160-
while(!Serial);
161-
#endif
158+
// Serial.begin(9600);
159+
// #ifndef __AVR__ //SAMD only
160+
// while(!Serial);
161+
// #endif
162162
rtcInit();
163163
initStorage(); //pulls persistent storage data into volatile vars - see storage.cpp
164164
byte changed = initEEPROM(false); //do a soft init to make sure vals in range
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)