Skip to content

Commit f483a32

Browse files
committed
Hard reset date in 2020
1 parent 77d73ed commit f483a32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arduino-nixie/arduino-nixie.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,10 +757,10 @@ void initEEPROM(bool hard){
757757
btnCur = mainSel; btnStop();
758758
//If a hard init, set the clock
759759
if(hard) {
760-
ds3231.setYear(18);
760+
ds3231.setYear(20);
761761
ds3231.setMonth(1);
762762
ds3231.setDate(1);
763-
ds3231.setDoW(1); //2018-01-01 is Monday. DS3231 will keep count from here
763+
ds3231.setDoW(3); //2020-01-01 is Wednesday. DS3231 will keep count from here
764764
ds3231.setHour(0);
765765
ds3231.setMinute(0);
766766
ds3231.setSecond(0);

0 commit comments

Comments
 (0)