Whom ever does log in and create te page, can we place some sample code
there too, :-) I'm heading down that road and will be needing it soon
enough. If not i'll see what I can do after figuring it out, but that will
be a while.
-Michael
----- Original Message -----
From: "Dave Hylands" <
dhylands@...>
To: "General mailing list for gumstix users."
<
gumstix-users@...>
Sent: Wednesday, May 21, 2008 1:08 PM
Subject: Re: [Gumstix-users] PWM Sample Code?
> Hi David,
>
>> > That's because nobody has yet create the PWM page :)
>>
>> Well, that makes sense, but shouldn't it say something other than:
>> "The action you have requested is limited to users in the group user."
>>
>> It would be less confusing! :)
>
> Yeh - what's happening is that when you create a page and put a wiki
> link to a non-existant page, then they expect that you're going to
> want to create the page, so the link is actually a link to "Edit the
> page named PWM". In order to edit a page, you need to be logged in.
>
> So that's why it is the way it is. You could login and create an empty
> placeholder page to get rid of that :)
>
>> > 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?
>>
>> I'm just looking for examples on playing with the memory mapped
>> registers and GPIO from with C.
>
> Then the GPIO example code should do what you want.
> <
http://docswiki.gumstix.com/index.php/Sample_code/C/gpregs>
>
> Just change:
>
> #ifdef __ARM_EABI__
> 0x40E00000 / MAP_SIZE
> #else
> 0x40E00000 & ~MAP_MASK
> #endif
>
> to be
> 0x40E00000 & ~MAP_MASK
>
>> Controlling an R/C servo would be fine for me.
>>
>> I did come across this:
>> paxRC - R/C and robotics software for Linux/PXA255/PXA270
>>
http://www.pabr.org/pxarc/doc/pxarc.en.html>
> Yeah - that's what I was going to point you to if it was R/C servos
> you were interested in.
>
> --
> 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@...
>
https://lists.sourceforge.net/lists/listinfo/gumstix-users>
-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users