>>>>> "Pawel" == Pawel Stochlinski <int01h@sentinel.mj12.eu.org> writes:
Pawel> Please help me - i have a problem with reading a data from pin
Pawel> #10 on LPT (its an ACK), what should i write in code, to read it?
Pawel> I am using x=inb(STATUSPORT); but that is not correct, please,
Pawel> help me how to read from pin 10...
Do something like
int re;
fd = open(portname,O_RDWR);
ioctl(fd,PPRSTATUS,&res);
Bye
-- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.deInstitut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Wed Dec 18 2002 - 16:19:54 EST