Help controlling 2 servos with joystick

but could you type a solution to the coding issue you mentioned

No not until you do as requested and post the code correctly. There is a modify button on the post.

What should be in the serial port?

What do you want it to be. At the moment it just prints the same numbers over doesn't it.

I'm powering the motors with an Energizer 9V Battery

They don't last long.