Why this code doesn't work?I pull up Termos(PORTB.6) and If Termos = 0 then the relay and on the LCD must be shown those commands.When Termos is HIGH,then back to the main program(With Return).
CHECK:
Repeat
LOW Relay : LCDOUT $FE, 1: LCDOUT $FE, 1, " Alarm vklucen " : LCDOUT $FE, $c0, $05 : LCDOUT $FE, $C0+13,"OFF"
High Buzzer
LOW BICG
HIGH BICR
Pause 350
Low Buzzer
Until Termos = 0
Return
Bookmarks