Another problem is, that when activating the servo again, I cannot give a starting value right away, so the servo will do another "jump".
You can do myServo.write(); before myServo.attach(); to set the initial position.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16