I am new to Arduino Programming and I want to build a simple pan tilt camera system with use of a simple playstation like joystick. So far I have managed to build the system using two servos, each for pan and tilt arrangement. I have written the code using the example code "knob" and the system works fine.
But, the problem is the servos come back to the start position with the joystick. For example, the way I wanted it to work is if I move the joystick to a certain position the servo should move to some angle and stays there even if the joystick comes to rest via the spring action it has. It should move again if I move to joystick.
Currently it just comes back with the joystick.
Could anyone help me with this situation. I spent so many days figuring out how to do it. even found one video in which the guy does the way I want but unfortunately it is just a video but no information on how to achieve it.
I want the Control 2 as shown in the video.