View Single Post
  #7   Spotlight this post!  
Unread 26-02-2006, 19:47
rodgadashruba rodgadashruba is offline
Registered User
FRC #0611
 
Join Date: Jan 2006
Location: McLean
Posts: 17
rodgadashruba is an unknown quantity at this point
Re: Finding servo location?

Quote:
Originally Posted by bush
You can. Just read the value of the PWM - in Kevin's code, the position is in the variable TILT_SERVO and PAN_SERVO
well i tried that in user routines, in the default code funtion. the code compiles just fine but when i add int he comman

int testTest = PAN_SERVO ;
or
static int testTest = PAN_SERVO;

i get syntax errors
is there a way to access these varible outside of tracking.c?