I am trying to control a robotic arm using 4 servos and 2 analog joysticks. I had found and modified a 1JS 2Servo code with last position memory which I had verified and uploaded and it ran perfect. I have now assembled and reloaded the code and only one axis works one each joystick, the other is non responsive. I am sure all of my connections are correct and I have troubleshooted by re-arranging the pins in the code as well as physically rearranging the contacts to confirm all directions on the joystick and all servos are operating. I don’t understand how it can work one time and then not anymore.
Here is my code…please help…you are my only hope
FINAL_Arm_code.ino (1.55 KB)