Using the serial port for GPIO.
Tom Buskey
tom at buskey.name
Fri May 12 11:05:01 EDT 2006
On 5/12/06, Scott Garman <sgarman at iname.com> wrote:
>
> Has anyone here ever used the Linux serial port drivers as general
> purpose I/O? By that I mean not using the port for RS-232 protocol
> communications, but querying and setting the levels of individual pins
> on the port. This is for an embedded systems project I'm working on.
People usually use the parallel port for this kind of stuff. 8 outputs
and at least 5 inputs. More inputs are possible w/ the newer bidirectional
ports.
parpin on sourceforge lets you work on individual pins. There's tons of
info on using the parallel port for digital I/O out there.
--
A strong conviction that something must be done is the parent of many bad
measures.
- Daniel Webster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060512/bdfcbcd8/attachment.html
More information about the gnhlug-discuss
mailing list