VEX V5 changing motor speed

HI,

I am relatively new to vex and need help setting the speed of a motor when I push a button. I have a mecanum drive train.

could you give us a bit more detailed description of your problem and maybe send a picture of your code? If you want to change the speed of a motor when a button is pushed, you could write something along the lines of

if(Controller.buttonL1.pressing()){
motor.setVelocity(100,pct);
}

1 Like