So, i have a robotic arm project that i am working on. I decided to use a joystick from a playstation 2 controller to control it. I extracted the joystick and wired up the potentiometer. When i use 1 potentiometer(to turn the base left and right) it works 100% correctly. However, when i try to add a second potentiometer/ joystick it doesnt work right. The second joystick will control the base not the shoulder that i want it to control. The code i use is below. I am using the picaxe 28x1 board.
Symbol less = 100
Symbol more = 150