
Re: How to control RobotC with 2 controllers
In your code, you created a set of variables, then set your motors equal to those variables, but nothing is stored in them the first time the loop runs. Why not set the motors you want to use directly equal to the remote control values (vexRT commands), like this sample code:
Your program accesses values from both remote control 1 and remote control 2. Any of the channel numbers that use "Xmtr2" refer to remote control 2.