Is there any way to make an interrupt on PORTB.6?I use a transistor as switch to trigger the PORTB.6 to "0" and Pull-up on this PORT,with OPTION_REG.7=0
And I want to use Interrupt,because this code doesn't work:
Proveri:
IF Termos = 0 Then
Relay_flag = 0:LCDOUT $FE, 1:LCDOUT $FE, 1, " Alarm vklucen ":LCDOUT $FE, $c0, $01
ENDIF
High Buzzer
Pause 350
Low Buzzer
Return