displaying LM35 output on pc


Thread Starter



i want to display the value of LM35 on pc interfaced via parallel port and adc0804. But i don't know how to read values from adc on pc. It can be in any language except assembly. I have tried the C code for this but it gives output as 255 or 153 even if the circuit is not connected with pc's parallel port. it should display an error message if adc is not connected. I do not know how to configure my problem and read the values from adc.

I shall be thankful if any one provide me the correct source code.