Hi slimpeng,
to start off with, replace baud con N2400, with baud con 4 , that will give you mode 4 which is N2400. You have several sub directories which output set temps, which the IF then loop will only address if the B0 variable exactly matches the number. what if the number is 11 or 19? the loop misses and goes around again, unless you do an AND less than type statement, I am curious as to why not lose all those subdirectories and output the actual B0 variable if it holds the accurate temp.something like:
Code:
loop:
 LCDOUT 254,201,"The Temp is"#B0 'or
 SEROUT PORTC.6,BAUD, ["The Temp is",#B0] 
goto main
HTH
JS