no no, dont get me wrong, 1 second behind is OK, DCF77 keeps the clock in sync so i know it will be accurate, the thing here is a mild OCD and that one second just bothers me not super important like something has to happen at exactly one second and on exactly accurate time.
i have now redefined my loop() to look like this:
void loop()
{
dcf_time_update();
tasksEverySecond();
tasksEveryMinute();
encoder_brightness();
}
then i call the clock, dcf... in "void tasksEverySecond()", sensors in EveryMinute etc.
If i could speed it up a bit more, like half second as you said, that would be great. How would the code for half a second look like?
Many thanks,
Alek