I have a DS18B20 hooked up to a 28x1 on the one wire bus and I get a zero reading every time
here is the basic code :
here is a picture of the breadboard:
here is the basic code :
Thanks for any help you can givemain:
readtemp 7,w1
if w1 < 127 then ' test for positive temperature reading
sertxd("-",#w1)
else ' else temperature reading is negative
sertxd(#w1)
endif
wait 1
goto main
here is a picture of the breadboard:
Attachments
-
393.5 KB Views: 34
Last edited: