I have a small project. I have a control board that is connected to the parallel port.
It controls 8 strips of LED on the LPT1 port.
I can turn these on and off via the command prompt, using LPTOUT.exe ie lptout 1 turns on the 1st LED
lptout 2 will turn off 1st LED and turn on 2nd, lptout 4 turns on 3rd and 2nd off, etc
1, 2, 4, 8, 16, 32, 64, 128. and combinations ie lptout 3 turns on LEDS 1 and 2, and so on.
However lptout seems very unresponsive sometimes I have to do lptout 1 twice before LED 1 turns on.
Is there another command I can use to write to LPT1 port.
I need some PHP code to control the outputs.
I want to sequence the outputs ie 1on (1second) 2on (1 second) 3 on (1 second) 4 on etc. to 8, then all off then repeat.
Can anyone help me.
THANK YOU.