Hi Guys
I have been reading up on readtemp and readdac
I have constructed a couple of bread board circuits using the DS18B20 and the the circuits have worked the way I wanted them to
ie readtemp B.0,w1
if readtemp >= 55 then
high C.0
end if
What I would like to do is use a pot to give another 10oC
so I could vary the temp between 55 and 65oC
so readdac B.1,w2
so if I used
w2=w2*10
w2=w2/1002
so between 0 and 10k on a pot I am getting a value between 0 and 10 as the pot is ajusted
and added w2 to w1 am I on the right lines
thanks
novolts
I have been reading up on readtemp and readdac
I have constructed a couple of bread board circuits using the DS18B20 and the the circuits have worked the way I wanted them to
ie readtemp B.0,w1
if readtemp >= 55 then
high C.0
end if
What I would like to do is use a pot to give another 10oC
so I could vary the temp between 55 and 65oC
so readdac B.1,w2
so if I used
w2=w2*10
w2=w2/1002
so between 0 and 10k on a pot I am getting a value between 0 and 10 as the pot is ajusted
and added w2 to w1 am I on the right lines
thanks
novolts