Z.B.:
Code:
For X = 150 to 0 Step -1
   Servo(1) = X
   Waitms 10
Next X
For X = 0 to 150
   Servo(1) = X
   Waitms 10
Next X