With any of the PORT change interrupts, you have to Read the port inside the handler to end the "mismatch" condition.Code:'-------Interrupt Handler for RDT------------ RDT: low led 'turn led on pause 2000 'pause 2 seconds @ INT_RETURN
Otherwise DT_INTS can't reset the int flag, and it will lock up in a continuous interrupt loop..
DUMMY = PORTA
<br>




Bookmarks