I wanted to know if anyone has used Livecode to send signals through a parallel port successfully or to test the functionality of the parallel port.
I need to be able to send signals to specific pins on the port, specifically D0, D1, D2, D3, D4, D5, D6, and D7. I have all of the information about the port (e.g. I/O address), but I do not know the code to send the signal, or indicate the address of the port.
I need to send a signal of high (5 volts of more, binary 1) to turn on each pin or low (0 volts, binary 0).
I have used this code:
Code: Select all
open file "LPT1:"
write "1" to file "LPT1:"
close file "LPT1:"
If you need any more information, or if you have any ideas, please let me know!
Thanks!