Replies: 3 comments 8 replies
-
There are many ways to approach this. Here's mine. I hope others will share more ideas. I assume you have bool showDate = true;
bool funcE() {
if (showDate) {
showDate = false;
return funcC();
}
showDate = true;
return funcD();
}
timer.every (1000, funcE); I have not tested this. |
Beta Was this translation helpful? Give feedback.
-
@skrobinson many thanks to you too, I tried both suggestions but the @philj404's idea required fewer changes to my code |
Beta Was this translation helpful? Give feedback.
-
Guys, this is my wall clock project: https://github.com/daktari77/IU2GLR_Clock/tree/main/WALL_Clock_rev2.0b.01. in case you want to take a look even just out of curiosity. |
Beta Was this translation helpful? Give feedback.
-
hello everyone, I hope you can help me.
I am building a led clock which displays UTC time, local time, date and temperature / humidity. On the first line the UTC time timer.every (1000, funcA) is shown, on the second line the local time timer.every (1000, funcB) and on the third I would like to alternate the display of the date with temperature / humidity.
Beta Was this translation helpful? Give feedback.
All reactions