Re: LM71 reads garbage sometimes.

Originally Posted by
CuriousOne
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:
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
tried to play with pause times - no difference.
What I'm doing wrong?
Maybe enable Power up timer in the configs
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks