Quote:
Originally Posted by joesmomh00haha
hey I'm israeli too. my family lives in or yehuda. yes you can have 3 joysticks, you can even have up to 4 joysticks and it is written in the code as:
p_1
P_2
P_3
P_4
the p is the port which you can plug in the joystick to. if you want to program buttons, you will have to mess around with the code.
P.S. you spelled joysticks wrong. peace in the middle east my friend.
|
It should actually be:
pwm## = p1_y;
pwm## = p2_y;
pwm## = p3_y;
pwm## = p4_y;
Or if you're using the X axis of the joystick, then use p1_x; etc.