I use a reed switch connected to a pc via a parallel port. I wrote software to detect when the switch is closed, i.e., when a car passes over it. As the car passes over the switch, the software flashes a yellow LED, which too is connected to the pc via the parallel port.
Harold
|