|
Re: Finding servo location?
Quote:
|
Originally Posted by rodgadashruba
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?
|
Yes. Since PAN_SERVO is in a #define statement in tracking.h you just need to make sure you include that .h file. Or just directly use pwm01 if that is what your #define is set to.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.
|