>Do you have some example code that doesn't work as expected, to show
>to the list?
else if (FIFO_FULL)
{ // read fifo
for (i=0;i<extension->ecp_fifo;i++)
{
string[BytesRead]=ecp_GetReg(extension,ECPDataFIFO);
if (string[BytesRead]==0x00) printf ("Something wrong!
Read 0x00\n");
BytesRead++;
}
time_start=FxParGetTickCount(); // timeout reset
}
As you can see the if istruction isn't exactly "if (0) ..". I user this
because during image
transfer never occurs a 0x00 byte. Normally an erorr on transfer image is
read as 0xFF.
Infact without the if instruction there are about 10 bad pixel, with it
there are about 60% of
bad image (the strange is the periodical error..... the black pixel are
periodical! If you want
i can send the image, about 100K).
T.I.A.
Ing. Giorgio Alboni
alboni@biometrika.it
Biometrika s.r.l.
Via Bertini, 75
47100 Forlė
www.biometrika.it
Tel. 0543-798604
Fax. 0543-792064
-- 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 : Mon Sep 03 2001 - 11:07:01 EDT