Hello.
I'm facing a strong problem with LM71. Sometimes it reads garbage. Changed IC, changed PIC, changed power supply - same problem. If I cycle power sometimes one time, sometimes 3 times, etc. it then works. The code is as follows:
tried to play with pause times - no difference.Code:READTEMP: 'READ TEMPERATURE low thcs pause 5 shiftin thdta,thclk,msbpre,[result\16] pause 5 high thcs THC=result>>2/28 THC=THC-3 RETURN
What I'm doing wrong?
Bookmarks