'Moving Servos
'This program will move servo 1 to servo 8 through positions 15 to 215 in
'steps 50 with a one second delay between moves. The variables Servo1
'through Servo8 are pre defined in the file SVBAS.INC. By assigning a value
'from 0 to 255 to ServoX, you are effecting the PWM for that servo channel,
'0 = No PWM, 1 = 0.6ms pulse width, and 255 = 2.4ms pulse width.

DIM position AS byte
start:
FOR position = 15 TO 215 STEP 50
   Servo1 = position 'Servo1 - Servo8 are
   Servo2 = position 'predefined in the
   Servo3 = position 'SVBAS.INC file
   Servo4 = position
   Servo5 = position
   Servo6 = position
   Servo7 = position
   Servo8 = position
   DELAY 1000	'Delay for 1 second
NEXT
GOTO start
END
