Making a joystick control for two servos to hold position

It worked fine for me I just used A2,A3 pins and ~10,~9 "i left the code as is" works Fine on UNO