Quote:
|
Originally Posted by rodgadashruba
alright its attached
its down where it is commented out for the aim up code
|
Don't you have to declare the variable andrew OUTSIDE the routine?
That might be it, then again, I could be wrong.
(code trimmed out to point out lines in question)
Code:
void Default_Routine(void)
{
int shooter;
// aim up code... WOOT
// ok so find the value of pwm1 to line up the robot.. should be easy enough
static int Andrew = PAN_SERVO;