Widget to manipulate parallel port signals ?
Bill Sconce
sconce at in-spec-inc.com
Wed Sep 8 16:26:03 EDT 2010
On Wed, 08 Sep 2010 15:25:07 -0400
"Michael ODonnell" <michael.odonnell at comcast.net> wrote:
>
> Anybody know of a (commandline or GUI) utility that I could use to
> wiggle/sense the individual data/control lines of a parallel port?
> I'd prefer that it operate using one of the standard drivers (like
> parport_pc) via ioctls rather than poking around directly in I/O
> or memory space at hardcoded addresses as I'd hope it'd be flexible
> enough to work with either an integral "legacy" device or an add-in
> device connected via PCI, USB, etc.
One possibility might be pyparallel. (I haven't used it, but I have
used its sibling pyserial and found it very useful, and very usable.)
http://pyserial.sourceforge.net/pyparallel.html
"Short Introduction" sample code from the project's homepage:
>>> import parallel
>>> p = parallel.Parallel() # open LPT1
>>> p.setData(0x55)
Good luck!
Bill
_______
Sent from my virusproofed Linux PC
More information about the gnhlug-discuss
mailing list