Re: [Soekris] GPIO net4501

2009-11-02 Thread Anders Christensen
Hi again, My apologies for my shot query. I am looking for at code example of reading the 4501 pio ports - on a linux. (I can't figure out how to port the freebsd to my needs ie. linux...) Thanks in advance. Anders On 01/11/09 17.46, Poul-Henning Kamp wrote: In

Re: [Soekris] GPIO net4501

2009-11-02 Thread ralph
Take a look at my reply from April of this year at http://lists.soekris.com/pipermail/soekris-tech/2009-April/015657.html. I haven't tested it on Linux, but it should be general enough to work. Ralph Hi again, My apologies for my shot query. I am looking for at code example of reading the

[Soekris] GPIO net4501

2009-11-01 Thread Anders Christensen
Hi, Can anyone supply me with some code that shows how to get the GPIO set at input and read them? Anders ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech

Re: [Soekris] GPIO net4501

2009-11-01 Thread Poul-Henning Kamp
In message 4aedba99@lisehoej.dk, Anders Christensen writes: Hi, Can anyone supply me with some code that shows how to get the GPIO set at input and read them? They are input by default. Here is some code that twiddles a LCD display: http://phk.freebsd.dk/soekris/lcd/ --