View Single Post
  #3   Spotlight this post!  
Unread 01-02-2006, 23:16
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 750
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: EasyC Timer and Gyro questions

Quote:
Originally Posted by TubaMorg
That just leaves me with the question of why the timer isn't timing?

In the Intialize block:
StartTimer(1)

In another function:

timer = GetTimer(1);
PrintToScreen ("Time is %ld\n", (long)timer);

Your not using it somewhere else are you?

In your "other function" is it in the "loop". A While Loop?

Your code looks ok to me. We haven't had any timer problems.

Try timer 6 for kicks and giggles....
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369