Hoops,
Your example should work fine. I have used similar code and it works great. I have controlled temp with 1 to 3 degrees F hysteresis in harsh/noisy environments. You could use the ADC equivalent for 100F and 80F and skip linearizing the thermistor. I use 10k resistor/10K thermistor/.1uF cap and Darrel Taylor's excellent averaging routine
http://www.picbasic.co.uk/forum/show...67&postcount=5.
Mark
Bookmarks