Reading from PINF is working, thanks.

Evan
On 4/17/06, Dave Hylands < dhylands@gmail.com> wrote:
Hi Evan,

On 4/17/06, Evan < meklort@gmail.com> wrote:
> Dave,
> I'm using the robostix standalone, so i'll try reading it usinig PINxn like
> Antoine suggested.

Yep - that's the ticket.

Use DDRx to set the direction, PINx to test the pins. When configured
for input, PORTx is used to control the internal pullup resistors.

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


-------------------------------------------------------
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!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users