Quote Originally Posted by Ioannis View Post
Try:

1.
ADCON0= 000101
while !adcon0.2:wend
with this the Pic16F88 not working






Quote Originally Posted by Ioannis View Post
2.
Display your variables on LCD or a serial port to be sure what values they are
Display on LCD
24.5 °C
Tmin 16 Tmax 30

cdout $FE, 2, "Temp ",dec2 (temperature/100),".", dec1 (temperature//100),$DF,"C"
lcdout $FE, $C0, "Tmin ",#Tmin DIG 1,#Tmin Dig 0," Tmax ",#Tmax DIG 1,#Tmax Dig 0



My problem is, i think:
temperature is a word
Tmax is a byte

and I don't understand how compare the values