Servo Program Help

Just got your third post. I don't know what a stretcher is. Also how would I control it with PWM? This is one of my first sketches.

While writing this the servo just started flinching then went back to being locked . I don't know why.

Thanks,
Drew Davis