I have tried to get two separate functions to execute independently at the same time and cant seem to get anything other than a cascaded result no matter what I try…
EG: this basic example I would like the light to toggle on/off every second whilst separately executing the “up-time” publish function.
At the moment, the led flashes on, then off, then up-time is published, then wait for up-time delay to complete before the led flash again.
Should I be using a “nested loop”? I have tried but unable to get anything happening!
Any assistance appreciated!!