B
brazingo
- Jan 1, 1970
- 0
hi,
i'm using parallel port for simple interfacing. i am able to output
data to parallel port. But i'm unable to receive data from the port. I
tried making C5 = 1(loaded 20h into 37Ah), but when i read back from
the port, i got C5=0 (0C0h back). Unable to change C5 bit.
How can i receive data ? I'm using Win2k and the parallel port is
in ECP mode. I'm unable to modify ECR register of ECP. I also have
userport that enables me to access the ports in win2k.
i'm using parallel port for simple interfacing. i am able to output
data to parallel port. But i'm unable to receive data from the port. I
tried making C5 = 1(loaded 20h into 37Ah), but when i read back from
the port, i got C5=0 (0C0h back). Unable to change C5 bit.
How can i receive data ? I'm using Win2k and the parallel port is
in ECP mode. I'm unable to modify ECR register of ECP. I also have
userport that enables me to access the ports in win2k.