Hello,
I am currently trying to write a program in Qbasic that sends signals out on the LPT1 to open or close a reed relay by sending a 5 volt signal to a certain pin and a certain time. I have the time set the way i want it, but now, how do i write the code to close all the pins on the lpt 1 that are open, and then open say pins 3-7 each one at a different time? I started using the OUT parport 0 command, but they are all still reading 5 volts without anything changing. Does anyone know the code to turn each pin on differently or how to do it? thanks in advance.
-Josh
I am currently trying to write a program in Qbasic that sends signals out on the LPT1 to open or close a reed relay by sending a 5 volt signal to a certain pin and a certain time. I have the time set the way i want it, but now, how do i write the code to close all the pins on the lpt 1 that are open, and then open say pins 3-7 each one at a different time? I started using the OUT parport 0 command, but they are all still reading 5 volts without anything changing. Does anyone know the code to turn each pin on differently or how to do it? thanks in advance.
-Josh