View Single Post
  #30   Spotlight this post!  
Unread 12-03-2004, 20:03
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: quick question: TIMERS

Quote:
Originally Posted by Astronouth7303
Initialize_Timer_X, And you have to modify the line that reads: TxCONbits.TMRxON = 0; to TxCONbits.TMRxON = 1;, else the timer won't go.
this is what im talking about. just set TxCONbits.TMRxON = 1 when you want it to start, and TxCONbits.TMRxON = 0 when you want it to stop. if you put this line outside of the while(auton) loop (before and after respectivly), it will work perfectly
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"