Quote:
|
Won't this only work if I move the stick up? Shouldn't I need both > and < .1 if I'd like to both increase and decrease
|
MaGiC_PiKaChU is correct. His code will test the absolute value for the threshold, then set the motor power to the joystick. Yours would probably work just as well, but the else if is redundant since it will never evaluate to true.