Geckorotto do you connect the servo directly to batteries or you use a LM7805 regulator?

for I = 1 to 20
Pulsout GPIO.0, 200
pause 18
next I

This code should work fine. Sometime servo become nut because of the current is not enough.

That is base on my experience.