Data Sheet
Copyright © Parallax Inc. Parallax Feedback 360° High-Speed Servo (#900-00360) v1.2 9/12/2017 Page 7 of 7
This uses the output and offset values to set the servo speed. When the error is large, the output
will be large, up to 200. If there is any error, the offset will be 30 for + error or -30 for - error, or 0 for
no error. So the resulting output will range from 30 to 230 for positive, counterclockwise correction, or -
30 to -230 for negative, clockwise correction.
servo_speed(pinControl, output + offset);
Aft
er a 20 ms (1/50 s) delay, the loop repeats.
pause(20);
Module Dimensions
Revision History
Version 1.0: original release. Version 1.1: corrected 2 instances of 259 to 359 in example code discussion.
Added statement below Pin Descriptions table. Version 1.2: corrected 2 instances of 91.7 to 97.1, pages
3 and 4.