Servo motor

Started by xionglim1984 August 1, 2003
Hi! Anybody have any idea how to get the servo motor running
correctly?
I have tried the sample program given in the bx-24 doc, the
program used pulseout , but the servo motor did not move to the
desire position. Thank you



Hi,

I got it working with the HITEC HS-311 after fiddling for a bit. Here was
the code:

dim i as integer
for i = 1 To 24 ' Pulse the servo for about 1 second.
Call PulseOut(12, 520, 1)
Call Delay(0.02)
next

number 520 means to turn the servo to the far left. by using the integer
2300 instead of 520 (for this model) it would turn the servo to the far
right. 12 means pin 12 is the pin the servo is hooked up to on the
bx24. 0.02 is the refresh period which is about 50hz.

-Trevor

At 08:19 AM 8/1/2003 +0000, you wrote:
>Hi! Anybody have any idea how to get the servo motor running
>correctly?
> I have tried the sample program given in the bx-24 doc, the
>program used pulseout , but the servo motor did not move to the
>desire position. Thank you >
>">http://docs.yahoo.com/info/terms/