helllo
here is my problem, i got the posttemp variable declared like this
now i want to change the value of the variable like this
Code:
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
and then compare posttemp like this
Code:
if temp >= posttemp then gosub s3
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!
and if i put it this way
Code:
if temp >= $0AF0 then gosub s3
then everything is working just fine but i want to change value $0AF0 like in above not working examplel
thx in advance
--
www.mtskola.com
Bookmarks