Digital IO Via the PC PARALLEL port...

…Has anyone out there used the PC parallel port as general purpose Digital
IO? And if so what do I need to know.

Pete Eddy

Working with the parallel port is fairly straightforward. Basically, you
will be reading/writing a set of memory mapped IO registers by using the
in*() and out*() functions. There are several good references on the web
which describe in detail the specifics, like which addresses to use. I’d
give you the urls, but I seem to have misplaced them. You can also use an
interrupt, which I believe is number 7. Check in the QNX documentation
for more about this.

Good luck.
Charlie

Recommended reading is “Parallel Port Complete” by Jan Axelson ISBN
09658191-5.

See http://www.lvr.com/parprtib.htm

Working with the parallel port is fairly straightforward. Basically, you
will be reading/writing a set of memory mapped IO registers by using the
in*() and out*() functions. There are several good references on the web
which describe in detail the specifics, like which addresses to use. I’d
give you the urls, but I seem to have misplaced them. You can also use an
interrupt, which I believe is number 7. Check in the QNX documentation
for more about this.

Good luck.
Charlie