Thanks a lot I will give it a try.
-Jana

On Sat, Apr 12, 2008 at 7:04 PM, Dave Hylands <dhylands@gmail.com> wrote:
Hi Jana,

On Sat, Apr 12, 2008 at 4:46 PM, Jana Coakley <jana.c@aggiemail.usu.edu> wrote:
> Hey Dave thanks,
> How do I access any of the pins individually. I just want to tie them to
> turn on 4 different leds in different sequences.

Once you figure out the GPIO number you can do:

modprobe proc_gpio
echo "GPIO out set" > /proc/gpio/GPIO99 (replace 99 with the GPIO pin number)
Replace "set" with "clear" to change the output to be low.

You might also want to try:
<http://docswiki.gumstix.com/index.php/Sample_code/C/gpregs>
but replace

#ifdef __ARM_EABI__
             0x40E00000 / MAP_SIZE
#else
             0x40E00000 & ~MAP_MASK
#endif

with
             0x40E00000 & ~MAP_MASK

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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users