I wanted to send the coordinates of my mouse on a new window using Serial Communication to my Arduino to control my Servo. The issue I'm currently facing is the servo doesn't move even though serial communication occurs. Is there some way to debug this?
This is my code:

