Thread: Code Error?
View Single Post
  #2   Spotlight this post!  
Unread 08-02-2008, 00:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Code Error?

What is the "switch connected to the copetition port" supposed to do? There are very specific pins that you're permitted to use without voiding your warranty.

If you're talking about putting the controller in autonomous mode, then it's likely that your autonomous routine is doing something to cause the code error. The typical reasons for that to happen are:
  • an infinite loop in the program that keeps the software from getting to the put_data function.
  • a faulty Interrupt Service Routine that fails to clear the source of the interrupt