On 9/23/2025 10:19 PM, Mike Stein wrote:
So, can't you scan it like a keyboard, i.e. output one of the 8 bits at a time and check if it appears on the input pin?
Not that I don't like the bar code input idea, but I wanted to second this will work as well.
The 74ls151 would work for this. Put the 5 joystick pins on pins 4,3,2,1,15, with pullups to 5V Put theĀ C B A (9,10,11) on D0-D2 of the printer port Put Y (5) on one of the parport inputs Tie g (7) low Then, put a 3 bit value on the parport D0-D2 and read the input. Jim
