* par - bit level driver for the parallel port.
@ 1996-07-20 4:00 Rogier Wolff
0 siblings, 0 replies; only message in thread
From: Rogier Wolff @ 1996-07-20 4:00 UTC (permalink / 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-07-20 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-20 4:00 par - bit level driver for the parallel port Rogier Wolff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox