View Single Post
  #2   Spotlight this post!  
Unread 21-02-2008, 10:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Please help, timer issue

The simple answer is that Process_Data_From_Local_IO() isn't ever being called from your User_Autonomous_Code() loop, so your timer isn't ticking.

The more complex answer is that most people setup their timers to operate as interrupts in InterruptHandlerLow (), so they happen regardless of what loop you might be caught in, a la, http://www.ifirobotics.com/docs/time...004-jan-14.pdf
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle