From 08f15277ce899952eaee1e16761e3773d44a378f Mon Sep 17 00:00:00 2001 From: Anthony Burdi Date: Sun, 18 Oct 2015 21:10:41 -0400 Subject: [PATCH] first commit --- .DS_Store | Bin 0 -> 6148 bytes README.md | 2 ++ Rise_Clock.ino | 10 ++++++---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .DS_Store create mode 100644 README.md diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..336b30745e3b82a629d8b9a71b3c2c9bf3c4c67c GIT binary patch literal 6148 zcmeHKyH3ME5S)b+L6J~O$}6dm_yZFhq!cvp0iZmJ2nQF4-W@;3Kf&w+6k}*9U{~6m zd+glVQ{3JGklFM49GC(a(-rZeVQ4z9KCpurQ50L_8grashxMWvWPd-P+#}qOcYzvv z{C2f$+9hZ8(_ZPPZ)R)($7F2rgbnU+i3TlJc;L=kJfdARJ?_;Pt}T!u6-WhAfm9$B z__qqMW~+@Sju}&dR3H`jR6x&%LRYK;J4ZV@81(wC^CLwyw(TuJEYYt5J4epY#HmE5 zN<1;d=^QVSR|R&CPKVgeTqkyxc%g{x&hcXDkjgP*Dv%2F6*%T%G3hW$>&T*p?^CF= 17) { - countdown(5,5, timeInterval, red); + countdown(10,10, timeInterval, red); mondayTrack(); } else if (weekday(t) == wed && tm.Hour == 10 && tm.Minute < 30) { preWorkoutCountdown(10, 30, 30, tm); @@ -70,7 +70,7 @@ void workoutChooser(tmElements_t tm, time_t t) { } else if (weekday(t) == wed && tm.Hour == 6 && tm.Minute < 30) { preWorkoutCountdown(6, 30 , 30, tm); } else if (weekday(t) == wed && tm.Hour == 6 && tm.Minute >= 30) { - wednesdayWorkout(30,timeInterval,6,8,4,6,5,1); + wednesdayWorkout(30,timeInterval,5,10,5,10,0,0); endWorkout(150); // turn on all nodes red } else if (weekday(t) == fri && tm.Hour == 6 && tm.Minute > 30) { @@ -78,7 +78,9 @@ void workoutChooser(tmElements_t tm, time_t t) { } else { Serial.println("No workouts scheduled for now "); - updateDigits(tm.Hour*60 + tm.Minute, green); // display the time in HH:MM + //updateDigits(tm.Hour*60 + tm.Minute, green); // display the time in HH:MM + countdown(10,10, timeInterval, red); + mondayTrack(); } } @@ -86,7 +88,7 @@ void mondayTrack() { // Show the word "GO" dispGo(3); // Mon Night Track CountUp - countup(4,30*60, timeInterval, green); + countup(4,120*60, timeInterval, green); endWorkout(150); // turn on all nodes red }