Thread: System Clock?
View Single Post
  #5   Spotlight this post!  
Unread 10-02-2005, 18:46
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: System Clock?

Quote:
Originally Posted by sciguy125
Programming isn't my field of expertise, so correct me if I'm wrong, but isn't user_routines (or whatever that user function is called) called every 26.5ms? If so, couldn't you just count how many time's it's been called. Increment some variable or something. I'm not sure how exact the time is on it though...
26.2ms. This can work, it's easier to just use given milliseconds.

Quote:
Originally Posted by Orborde
Another question: Is .1msec too small an interval? I'm concerned that it will chew up all the processor time and make everything die a horrible death.
It is probably a little small.