in reply to Accessing parallel ports
#!/usr/bin/perl use strict; use warnings; use Device::ParallelPort; use Device::ParallelPort::drv::parport; my $parport = Device::ParallelPort->new; $parport->set_bit(3, 1); print $parport->get_bit(3), "\n", ord($parport->get_byte(0)), "\n", ord($parport->get_byte(1)), "\n", ord($parport->get_byte(2)), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Accessing parallel ports
by tumoheat (Initiate) on Jan 07, 2011 at 06:02 UTC | |
by roboticus (Chancellor) on Jan 07, 2011 at 09:49 UTC | |
by tumoheat (Initiate) on Jan 08, 2011 at 05:52 UTC | |
|
Re^2: Accessing parallel ports
by tumoheat (Initiate) on Jan 07, 2011 at 05:36 UTC |