Quote:
|
Originally Posted by roberthan
Newbie here. I need some help on how to program timers for the Frc.
|
well, you know that the program loop is approximately 26.2ms, so just start a counter of the program loops and use a conditional to decide when to execute your commands.
so if we use 26ms as our reference,
10 sec = approx. .026s * 385 or 385 program loops....
If you need code examples just ask
Cheers,
Joel