View Single Post
  #10   Spotlight this post!  
Unread 26-02-2006, 20:44
ForgottenSalad's Avatar
ForgottenSalad ForgottenSalad is offline
In search of a home...
AKA: Michael Wessler
no team
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Bethlehem, NH
Posts: 136
ForgottenSalad will become famous soon enoughForgottenSalad will become famous soon enough
Send a message via AIM to ForgottenSalad
Re: Finding servo location?

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;