Pololu Maestro - how keep track of elapsed time say 1 hour then do something

New to the Pol Maestro

I need to set a time now, then wait for a relay to close. then if it has closed within the 1 hour I go to X else if after that 1 hour I go do Y.

Can you offer code advice:?

You can get started on something like that with our example Maestro script for long delays. You can find that, as well as the rest of the example scripts we have for the Maestro under the Example Scripts section of the Maestro’s user’s guide, which you can find under the Resources tab of any Maestro product page.

If you get stuck or have trouble with your code, feel free to post it here along with what you expect to happen and what actually happens, and I would be happy to help.

By the way, your topic is specific to the Maestro, so I moved this thread to a more appropriate subforum.

-Jon