Code to move the servo motor

It would do, I think, if you had the "-Wconversion" compiler option.
But then you'd probably see tons of other ones. (like whenever you use Serial.read () )

The sketch is not working.
The 65k rollovers will trigger two updates in quick succession.