Evening all I'm having a play again, always find the best way to learn is a bit of trial and error but I can't work out the below if any of you can help.
I currently have the below in a piece of code and it works fine
This works fine but as I say I've been having a play and I cannot get the -1 to work.
it's the last line that returns an error and I can't fathom it
I currently have the below in a piece of code and it works fine
Code:
Temp_Check_1A:
readtemp C.7, b1 'Read the DS18B20 temperature
pause 500
sertxd(#b1,"c Water Temp",13,10)
if b1 >= 80 then Up_Temp
if b1 >= 55 then Temp_Check_1B
if b1 <= 54 then Burner_Up_Ramp
Code:
b2 = 80
b3 = 55
Temp_Check_1A:
readtemp C.7, b1 'Read the DS18B20 temperature
pause 500
sertxd(#b1,"c Water Temp",13,10)
if b1 >= b2 then Up_Temp
if b1 >= b3 then Temp_Check_1B
if b1 <= b3 - 1 then Burner_Up_Ramp