View Single Post
  #7   Spotlight this post!  
Unread 08-02-2007, 14:25
Ultima Ultima is offline
Registered User
FRC #0369
 
Join Date: Oct 2005
Location: Brooklyn, NY
Posts: 26
Ultima will become famous soon enough
Re: OI Input Autonomous

Thanks so much for your help so far. We have managed to get the code up and running displaying the numbers on the OI, however anytime I try to get a value from auton_select in my Autonomous Mode I keep getting
Quote:
C:\2007 arm code\FrcCode2005v2.4\user_routines_fast.c:154:Erro r [1105] symbol 'auton_select' has not been defined
C:\2007 arm code\FrcCode2005v2.4\user_routines_fast.c:154:Warn ing [2058] call of function without prototype
even though I have defined auton_select in user_routines.c as so

Quote:
/*** DEFINE USER VARIABLES AND INITIALIZE THEM HERE ***/
#if _USE_CMU_CAMERA
#include "user_camera.h"

int auton_select;
Any solution for this problem? Thanks in advance!