Setting pin on parallel port high

Setting pin on parallel port high

Post by James Salm » Tue, 02 Apr 1996 04:00:00



Hi,

I am writing a brief for programmers that will be writing a program in
unix that sets one of the parallel port pins high at regular intervals
(approx every 30 mins for a 5 min period).  The problem is that I
personally know nothing about Unix and have no idea which pin it would
be easiest to set high.  I took a guess and said pin 10(acknowledge
pin) but I don't really know.  The change in state is then seen by
another device which performs actions on reception of the signal.  If
anyone could help me, it would be greatly appreciated.

Best Regards,

James Salmon

 
 
 

1. have C code for parallel i/o, pin by pin (for interfacing)

A while ago I posted for help, asking how to control and read from the
individual pins of the parallel port, with the hope of being able to
control some simple circuits, etc, with my computer.

A few people responded, but none offered code to do what I wanted to
do.  Since then, I have answered my own question and have thrown
together some C functions that handle parallel i/o pin by pin.  If
anyone is interested, send email.

--



           http://ajshrom.student.princeton.edu |             Linux ...

2. Redefining keys in Linux

3. Control ecpp parallel port on pin level

4. sc520cdp still NG as a module

5. Help. Data pins in parallel port not responding

6. printer takes sweet time before printing

7. Interrupt for parallel port on 4 pins?

8. Apache not serving userdirs

9. want to control and read pins on the parallel port individually

10. Parallel port programming... pins 12 and 13 not working

11. Pin outs for parallel port zip drive cable?

12. parallel port: why +5V on pin 12 in rest

13. Watching parallel port for a pin to go to ground?