Making a joystick control for two servos to hold position

It Works !!!
It Works!!!

I just changed the dead zone values from 200 to 550. Now it works.

Apparently the middle value of the joystick on the x axis is around 214 while on the y axis is around 515 which is wierd. It should both be around 515. So when I changed the lower limit to 200 and upper limit to 550 it started working.

Thanks very much. Now I will try to understand what is happening in the code and learn something from it. :slight_smile: