servo control issue

The motor is connected to an arduino motor shield mounted on the mega.