ON 20051116@9:42:58 AM at page: http://www.sxlist.com/io/parallel/port.htm#38668.3488888889 James Newton[JMN-EFP-786] removed post 38668.3488888889 |Delete 'arunp92@physis.du.ac.in asks:
I have been trying to get my bi-directional parallel port to read input at the status port. Since, it is bidirectional I had written 32(decimal) to the control port and tried reading the status port. Nothing happen. Then I wrote 255(decimal) at the control port and read the status port sucessfully.
1) When I used 4.7K resistances, the port did not read it. But when I used 220ohms, the port read the data.
2) Problem is, the port doesnot read data corresponding to S7, it always remains zero.
3) After reading five six times, the port reads randomly and then after a few more attempts latches to data.
Please help me out.