How To Code More Than 1 Motor to 1 Button

I’ve been trying to code my intake motors 2 buttons R1 and R2 on the V5 controller, but I can’t because Vex Code v5 only lets you do 1 motor per button in the controller configuration menu. Is there a way around this?

If the config menu doesn’t give you the option, you’re going to have to write your own code. Are you using regular vexcode or vexcode pro?

2 Likes

I’m using normal vexcode. How would I go about doing it on my own?

In the latest release of VEXcode, you can create a motor group of two motors and then assign that to buttons in the controller setup.

8 Likes

Nice! I’ll try that and see if it fixes the problem

https://kb.vex.com/hc/en-us/articles/360058592211-Configuring-a-Motor-Group-in-VEXcode-V5

4 Likes