From: Karl v. M. <ver...@gm...> - 2006-11-05 07:54:13
|
Hey Brendan, On 10/26/06, Brendan Maguire <mag...@gm...> wrote: > > This seems like a lot of hassle to get the ADC lines working. I may > just go for an external ADC and control it using the GPIO lines on the > GPSstix. An I2C ADC is always an option. Pretty sure I2C is broken out on the GPStix. So next question then! How do I access the GPIO lines on the GPSstix? > I've looked around the docwiki site but can't see a lot in relation to > this. I want to access these lines from the command line if possible, > but I would write C code to do this either if needed. > > 1) Which GPIO ports that are broken out on the GPSstix can I use for > this, and what are the labbeled? I don't have the GPSstix here with me > at the moment but there were some pins called LD0 - 20 I think(?). > Would these lines be useable for GPIO? IIRC LD0-20 are for LCD's. Here's the FAQ for the GPSstix if you haven't already found it - http://docwiki.gumstix.org/Frequently_asked_questions/GPSstix_and_Audiostix2 2) How do I set the pins for input / output? How do I write and read from > them? Here's one way to read from them - http://docwiki.gumstix.org/GPIO_event Thanks for all the help so far, > Brendan > > If this should be a seperate thread, sorry. Let me know and I'll post > it again as a new topic. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |