06-24-2017, 02:54 PM
Hi Arne, sorry I found an error in my code so you would have had problems today if you uploaded before midnight on Friday. This was my mistake.
currentWeekday = weekday() + 1;
if (currentWeekday >= 7) currentWeekday = 0;
Friday is day 6 so when it searched Saturday (day 7) it changed the currentWeekday to 7 but then the line in bold says if currentWeekday is 7 or greater change the currentWeekday to 0. Meaning Saturday will never come. :(
I've sent you a new sketch for the display, only it needs to be uploaded.
currentWeekday = weekday() + 1;
if (currentWeekday >= 7) currentWeekday = 0;
Friday is day 6 so when it searched Saturday (day 7) it changed the currentWeekday to 7 but then the line in bold says if currentWeekday is 7 or greater change the currentWeekday to 0. Meaning Saturday will never come. :(
I've sent you a new sketch for the display, only it needs to be uploaded.