From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,7ffa74e5c9adefca,start X-Google-Attributes: gid10d4db,public From: R.E.Wolff@BitWizard.nl (Rogier Wolff) Subject: par - bit level driver for the parallel port. Date: 1996/07/20 Message-ID: #1/1 X-Deja-AN: 169269532 organization: ? followup-to: comp.os.linux.development.system newsgroups: comp.os.linux.announce -----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: Original-site: 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.