helllo
here is my problem, i got the posttemp variable declared like this
now i want to change the value of the variable like thisCode:posttemp var byte
and then compare posttemp like thisCode:if menu = 2 then
posttemp=$0AF0
LCDOUT $FE,1, "Max temperatura:"
lcdout $FE,$c0,128, "28.00 C"
pause 2000
endif
if menu = 3 then
posttemp=$0BB8
LCDOUT $FE,1, "Max temperatura:"
lcdout $FE,$c0,128, "30.00 C"
pause 2000
endif
but this isn't working, program is compiled without erors, everythig is working fine, but my program gosub to s3 ever time, no matter if the condition is true!Code:if temp >= posttemp then gosub s3
and if i put it this way
then everything is working just fine but i want to change value $0AF0 like in above not working examplelCode:if temp >= $0AF0 then gosub s3
thx in advance
--
www.mtskola.com