I need to run a function every 5 seconds for 10 minutes.
I use a timer to run it for 5 secs, but how do I limit the timer to only 10 mins?
You can set two timers one that run for 5 secs and the other one that run for 10min and disable the first one