Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: R.E.Wolff@BitWizard.nl (Rogier Wolff)
Subject: par - bit level driver for the parallel port.
Date: 1996/07/20	[thread overview]
Message-ID: <cola-liw-837893503-24956-0@liw.clinet.fi> (raw)


-----BEGIN PGP SIGNED MESSAGE-----


I have a driver that allows you to easily manipulate single bits on
the parallel port. For instance you could hook up a bunch of leds
to your parallel port and give them different functions.

Changing an output can be as simple as the shell statement

	echo -n 1 > /dev/par1b

Reading a control line can be done from a C program with

	char val;
	read (parfd,&val,1);

This will block until the input changes value (the first
read won't block for you to get the current value when your
program starts :-).

The web page with a little more explanation and the links to 
the sources is:

	http://www.BitWizard.nl/par/


Here is the lsm entry:

Begin3
Title:          par
Version:        0.32
Entered-date:   14jul96
Description:    allows bit level access to the par port.
Keywords:       parallel port leds hardware
Author:         R.E.Wolff@BitWizard.nl
Maintained-by:  R.E.Wolff@BitWizard.nl
Primary-site:   http://www.BitWizard.nl/par/
Alternate-site: <none>
Original-site:  <none>
Platforms:      Linux.
Copying-policy: GPL.
End


Feedback is encouraged.

			Roger Wolff
			R.E.Wolff@BitWizard.nl



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMfE9aIQRll5MupLRAQFRugP/cwILPv9hjzKtGIRVIAjG21kIBAOVnd4B
fpUXRMFqWLxfAD6fOV/jD0moFjSmh5ldJQK4Cvn8A5pCnzrris8yjgeyKSDP2cIH
41TFai/iyC45Y1guK5Th91M17GNIKb1BcJrUVUbOTvfyGxuzQZYi+yJERHbXfaRm
9eUrfutzoeg=
=SBay
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



                 reply	other threads:[~1996-07-20  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox