by Benny on Thu May 07, 2009 8:09 am
I am facing the same problem, I made a program for reading the parallel port. it works quit well in many computer, but no the one in my office. normally when I take off the device on the parallel cable, I will read "11111111" as my reply, but for my office computer , I read "00000000" instead, when I pulling up one of the data line to "1" with a +5V and a 4.7K resistor , I can read 00000001, but when I remove the resistor and the +5v, and read again, the 00000001 still remains, I repeat same process to others data pins, the outcomes are same, all the "1" status seem to be kept by th data pins, unless I end up the program and re-ececute the program again. ( I already set control 5 to "1" to disconnect the Write Latch Register.
I am facing the same problem, I made a program for reading the parallel port. it works quit well in many computer, but no the one in my office. normally when I take off the device on the parallel cable, I will read "11111111" as my reply, but for my office computer , I read "00000000" instead, when I pulling up one of the data line to "1" with a +5V and a 4.7K resistor , I can read 00000001, but when I remove the resistor and the +5v, and read again, the 00000001 still remains, I repeat same process to others data pins, the outcomes are same, all the "1" status seem to be kept by th data pins, unless I end up the program and re-ececute the program again. ( I already set control 5 to "1" to disconnect the Write Latch Register.
:(