02-18-2011 06:35 PM
Greetings,
How would i add another motor to the example robot project vi's?
The motors are configured to PWMs 1 and 2.
I would like to add another motor that will be in pwm 3 running on another joystick.
How would i create another reference to joystick and motors? I ve been looking at the code and i need a little assistance.
Thank you
Vivian, Team 3091
Solved! Go to Solution.
02-23-2011 03:26 PM
In your begin.vi add an open motor.vi and attach it to a getdriverefnum.vi
then an open joystick.vi and attach it to a refnum.vi
Right click on the open VIs (Joystick and motor) and create constants in order to choose PWM and USB ports.
Ill add teleop.vi info later
Also sorry if the picture is blurry, ill try to get a better one.