08-20-2008, 06:30 PM
http://www.beyondlogic.org/spp/parallel.htm
Ok...so the program you so kindly got me started on polls the changes on the data inputs. I really would like to use the IRQ for an interrupt instead. Do you see from the literature above how I would do this in QM. There is a program written in C given as an example, but I don't know how to recreate that in QM.
I see that I need to set Bit 5 on Base+1 port to high(1) to be able to input and to low(0) to be able to output. I think that is what will allow me to read contact closures, I can't test until I get back onto a PC, my laptop does not have a Parallel port.
Thanks again.
Ok...so the program you so kindly got me started on polls the changes on the data inputs. I really would like to use the IRQ for an interrupt instead. Do you see from the literature above how I would do this in QM. There is a program written in C given as an example, but I don't know how to recreate that in QM.
I see that I need to set Bit 5 on Base+1 port to high(1) to be able to input and to low(0) to be able to output. I think that is what will allow me to read contact closures, I can't test until I get back onto a PC, my laptop does not have a Parallel port.
Thanks again.