It will :o , 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.
- Make sure wether the arm is pneumatic, or motor.
- 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.