Copyright © Parallax Inc.
Parallax Continuous Rotation Servo (#900-00008)
v2.2 10/24/2011 Page 8 of 8
waitcnt(t) ' Wait for next cycle (20 ms)
repeat 100 ' Repeat PWM signal 100x
phsa := -tCcw ' Set up counter-clockwise fast pulse
t += (tC - 200) ' Calculate next cycle repeat
waitcnt(t) ' Wait for next cycle (20 ms)
Revision History
Version 2.1: corrected values in BASIC Stamp Model PULSOUT table; updated example programs to use a
constant for the servo pin.
Version 2.2: added
Voltage and RPM
note on p age 6. Added Usin g a Separate Power Supply on a
HomeWork Board section beginning on page 2. Updated specifications.