|
Re: programing the vex optical shaft encoder
ok, i put in print statements before, in, and after the loop. before the loop, 'swerve' is zero. the first time though the loop, it's still zero, but the second time through it says 127!?!? so it quits the loop.
***EDIT***
i forgot to say that the print statement in the loop is AFTER it checks for the button
__________________
 
"C.N.C." lyrics/"Driving on Regolith" lyrics
Let's all go nuts! Robots! Robots!--Team 461 chant
Last edited by youngWilliam14 : 10-11-2007 at 13:24.
|