question from beginner on servos

Started by yirga10 January 20, 2005


I am a beginner and purchased the basicx kit and servo motors. Does
anyone have sample code for making the servo rotate based on an
output from the microcontroller? Do I have to define any variables
first in the code? And finally, do I have to isolate the output
from the chip to the motors (optic isolators?), or can I directly
connect the third wire (the non ground and non power wire) to the
output pin?

Thanks for your help.