VEXCode Blocks 2 motors, one button

We are trying to get two motors to help run a claw/hook system with VEXCode Blocks. Is it possible to code this using one controller button?

Only one motor is engaging…it seems to drag the other motor behind.
We currently have (in blocks):
When Controller button FUp pressed
spin Steve1 reverse
spin Steve 4 forward

When controller button FUp released
stop Steve 1
stop Steve 4

Sounds like you’re on the right track - can you post a screenshot of your code?

You have to also set the motor velocities to be the same.

We created a broadcast so it would talk to both motors simultaneously. Thank you for your help!

Hi, We are having the same problem as Ms. Hartwig above. Can you post your Vex IQ blocks code so we can see how you solved the problem with a broadcast? We are new to programming and don’t know how to do this.

1 Like