Best way to run a task at a time?

Since Particle devices are connected and sync time they seem like the perfect tool to be the brains of a clock.

But, what is the preferred way to run a task at a time? Like updating the time display? Do I just keep a tight loop looking for the next task, or is there a good way to create an interrupt that is fired based off a time or passage or time?

This might be for you
https://build.particle.io/libs/538d3b0d96fef999ed000a0b

2 Likes

Your Google is strong sir. Thank you

1 Like

The know it actually is :wink: Welcome you are!