[visionegg] Re: parallel port: which pin?


> > Get status bits 0-7 of the LPT port.
> >  
> > The status bits were not really meant for data input

Actually, on the first parallel ports, they were the only
lines accepting input (to check the status of the printer): the
bits from the data register were meant to be *sent* to the printer.
In some BIOSes, you have the option of setting  the parallel port to
"unidirectional" to have this configuration.
This is why it is safer to use the status bits than the data bits to
receive input.

There is lots of useful information at
"Parallel port central" <http://www.lvr.com/parport.htm>

Christophe Pallier
www.pallier.org

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: