View Single Post
  #2   Spotlight this post!  
Unread 04-02-2004, 00:33
rdsideresistanc's Avatar
rdsideresistanc rdsideresistanc is offline
Registered User
AKA: Joel F
#0825 (SWVGS Maximus)
Team Role: Programmer
 
Join Date: Feb 2004
Location: nowhere
Posts: 11
rdsideresistanc is an unknown quantity at this point
Re: How do you program timers?

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