RotateMotorEx Problem
Posted: 10 Nov 2011, 13:41
I'm working on a project that requires precision movements, and for whatever reason I get a problem with this bit of code:
The third line causes the robot to turn at full power. Am I missing something?
Code: Select all
RotateMotorEx(BOTH, 75, DEGREES, 0, true, true);//BOTH is OUT_AC, DEGREES = 180
RotateMotorEx(BOTH, 50, TURN_90, 100, true, true);//TURN_90 = 220
RotateMotorEx(BOTH, 75, DEGREES/2, 0, true, true);