Well, (assumes crouching position in shoebox/middle of road)
I mail ya separately with some async freeware routines.
I believe what you need is spaghetti wire fix, minimum fuss right?
Forget the parallel port, use the serial port. Look up DCB under Win32S
which suits all windows platforms, if you cant figure how to use this, take
the easy way and use one of the routines I have sent you, still using the
below system.
Toggle the DTR or DSR lines. Count the number of DTR/DSR swings for
addressing your external device. Add a timer to that to reset the counter A
after a few m/s. You could have 2 counters, one that fires up on the first
series of counts and also the timer fires up at the same time. After the
timer times out, the next series is used by the second counter to give the
address type eg an increase of lighting on the light determined by counter
A, after the next timeout, you could send a couple of parity bits just to
make sure the data integrity is correct.
(returns to lake)
Al+
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz