Thanks for the link
Dave, I have gone over that link, but it seems a bit complicated. I mean that I am not sure exactly what I need from there to accomplish what I want.
All I need is to be able to read inputs to two GPIO's, which represent some readings of a tilt sensor. If one of the GPIO's is at '1' then the gumstix is tilted one way, and if the other GPIO is '1' then the gumstix is tilted the other way. Of coarse if both are '0' then the gumstix is not tilted.
Since I have never tried using the GPIO's before, I don't know which ones are to be used as inputs, how to refer to them, and what code to type to actually get their readings.
If you have any sample code that could help, that would be great. I a using a summit board if you need to know which pins are available as input.

On 6 December 2011 18:38, Dave Hylands <dhylands@gmail.com> wrote:
Hi Nick,

On Tue, Dec 6, 2011 at 5:32 AM, Nick Starzicki <nick2501@gmail.com> wrote:
I have an over fire on a summit board, and I would like to use the GPIO's as an input to a signal.
I know how to write, compile and execute code on the gumstix, but I have no idea how to refer to the GPIO's and read signals or send signals through them.
Could anyone please help, and maybe send a code example of how to do this?

This page is probably a good place to start

What are you trying to do?

Dave Hylands
Shuswap, BC, Canada

Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
gumstix-users mailing list