Motor Reversing in VexCode

I have tried to reverse the motor in the setup, to no avail. The motors are still not reversed, but if i call M.spin(directionType::rev, whateverpower, percent) for example, it will spin reversed. I have swapped V5 Brains out, and same result. This also Happened in VexCoding Studio.

Try this code when you initialize the motor.

vex::motor name (vex::PORT1,true);

The true says that reversed is true so the motor will be reversed whenever you use the motor.

OOOOH Thank you so much! I’m an idiot! I said false because i thought that meant reversed XD

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.