[PLUG] Write to port

Karl M. Hegbloom karlheg at pdxlinux.org
Sat Dec 28 12:59:03 UTC 2002


On Fri, 2002-12-27 at 12:18, Marvin J. Kosmal wrote:
> Hey Pluggers.
> 
> 
> I need to demonstrate how data is transfered out of 
> a port.. and into
> 
> 
> IF the following address is lpt1 (8 bit port)
> 
> 0378-037a : parport0
> 037b-037f : parport0
> 
> 
> How do I read & write (in BASH) to that particluar address??

BASH?  I think you need to use C to do that, unless you use the device
file interface.






More information about the PLUG mailing list