23
PICAXE
PIC
Animation - Servos
•
•
•
Program 7:
–
The PICAXE’s
SERVO
command does
all of the hard
work!
Start:
FOR b0=40 TO 210
SERVO 4, b0
PAUSE 100
NEXT b0
PAUSE 1000
FOR b0=210 TO 40 STEP -1
SERVO 4, b0
PAUSE 100
NEXT b0
PAUSE 1000
GOTO Start: