RobotC - Multiple Motors on One Button

Can someone guide me as to how to program using RobotC so that multiple motors will operate using only one button on the controller.

Thank you!

You can use armControl to control one motor:

armControl(motor10, BtnLUp, BtnLDown, 75);

You can use the same command twice to control two motors:

armControl(motor10, BtnLUp, BtnLDown, 75);
armControl(motor11, BtnLUp, BtnLDown, 75);

Steve

Steve,

I got the motors to run on one button. I also got the tank control to work. However, we would like to do one joystick driving. Is that possible via the RobotC programming on the remote?

I think that’s “arcade” drive, not “tank” drive