View Single Post
  #3   Spotlight this post!  
Unread 26-09-2007, 21:18
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: Error in code light on, trouble finding error

Quote:
Originally Posted by Tanis View Post
...the OI has the code error,...
The file looks okay at first glance -- no obvious infinite loops or wild pointers.

The first thing I'd check is that you're compiling the project for the proper version of the RC. The 2004 and 2005 systems use a different user PIC than the 2006 and 2007 systems do. What year's RC are you using, and what year's default code did you start with? The newer default code includes a file with instructions for making changes so it can be used with the older hardware.