Hi Dave,

I'm trying out your very cool shell servo script.  I'm having a bit of trouble though, when I issue the timer set command, and then send the set command, the servo starts turning, but it doesn't stop...It also doesn't seem to respond to variations in the pulse-width parameters, ie it just keeps on turning regardless of what I put there.

Should I be using these commands in a different way? Do I have to pull the pins low or something after a certain amount of time to stop the signal?

Once again, I really appreciate your, and everyone elses, help regarding the gumstix.


On 3/26/06, Dave Hylands <dhylands@gmail.com> wrote:
Hi Tan Lao,

> Do you have any code or instruction on letting
> gumstix controlling the pwm port of the robostix?

There are a couple of posts in the archives. This one for R/C style servos:

And timers (for generating a square wave).

I haven't done one for driving an H-Bridge (although I have C code for this).

Dave Hylands
Vancouver, BC, Canada

This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
gumstix-users mailing list