Quote:
|
Originally Posted by 1086Programmer
I see. I'm not quite sure that we're using the second joystick for though, whether it's driving or operating our pneumatics. That part they neglected to tell me, would it matter?
|
It will

, because everyone on this thread was under impression that you wanted two joysticks for driving the robot, as opposed to a single joystick for driving. If you just need another joystick for an arm here is what you need.
1. Make sure wether the arm is pneumatic, or motor.
2. If its motor, is it controlled by a victor or a spike.
If the arm is pneumatic or motor on a spike then:
relay1_fwd=p3_aux1;
relay1_rev=p3_aux2;
//here the single solenoid or the motor is on relay one.
If arm is on a motor contorlled by a victor then:
pwm03=p3_y;
// All the code is assuming that the joystick used is on port3.