On Thu, Dec 3, 2015 at 6:30 AM,  <[email protected]> wrote:
> Hi,
>
> I am trying to control a servo with my BeagleBoneBlack using Angstrom. I
> must have a high-level on a GPIO for 1 millisecond. I use the following
> simple code

It looks like you're trying to generate the servo PWM output in
software. This seems like a wrong way; you should use PWM hardware
units instead. There will always be some jitter from software context
switches, other OS activity and/or memory/cache/TLB latencies, and the
servo will be jerky.

Set up the PWM or PRU to generate your output. This way, software will
only be activated when you need to change the output values.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to