« Return to Thread: PWM Sample Code?

Re: PWM Sample Code?

by David Rye :: Rate this Message:

Reply to Author | View in Thread

Hi Dave,

I was just after a simple example that shows how to configure the hardware and set base frequency and duty cycle.

Dave Hylands wrote:
Hi guys,

>> Can anyone point me at gumstix PWM sample code, preferably in C?
>
> I was wondering that myself, since:
> http://docswiki.gumstix.com/index.php?title=Sample_code/C/PWM&action=edit
>
> is missing the actual code! :)

That's because nobody has yet create the PWM page :)

Are you looking for PWM for the purposes of controlling something like
a backlight?
Or PWM code for controlling somehing like an R/C servo?

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 « Return to Thread: PWM Sample Code?

LightInTheBox - Buy quality products at wholesale price