can anyone tell me why this doesnt work
main:
readtemp C.2,b27 ; read value into b27
serout b.6,n2400,(254,128,#b27,"C")
if b27<20 then heat ; turn on heat source
if b27 >23 then heatoff 'turn off heat
heat:
high c.1
high c.6
gosub main1
heatoff:
low c.1
low c.6
gosub main1
when this...