Thread: Using Timers
View Single Post
  #1   Spotlight this post!  
Unread 09-05-2005, 21:03
psquared psquared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Chantilly
Posts: 34
psquared is an unknown quantity at this point
Using Timers

I was wondering how i would go about setting up a timer in the program. I would like a way of using a very accurate timer that can be initiated miliseconds apart. I don't want to do a loop timer and guess how long has passed based on how long it takes a loop to pass. I need a really fast and accurate timer that can notify me when a certain number of miliseconds have passed to execute a command. If you have any code suggestions as to how I can get started or any links to resources they would be greatly appreciated. And to clarify I am referring to programming the robot controller using MPLab. Thanks.