View Single Post
  #5   Spotlight this post!  
Unread 05-01-2004, 23:51
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: Simple Syntax Error

I'm using this with the Edubot, I'm putting it in user_routines.c where it says to add your own code. The MPLAB compiler doesnt tell me anything other than "Error: syntax error" and it points at the space between where it closes the first IF loop, and where it says "void Autonomous_1()". I did try the method Mike said with taking some code out and adding it back. It seems to be the "void Autonomous_1()" and "void Autonomous_2()" lines. Do we have to have them defined in a header? If so, where and how... because I haven't done that.? Thanks!
__________________
Chopsaw? Chopsaw.