When you enable GIE (INTCON.7) you have to have an Interrupt Handler for it to jump to.
If you just want to Poll the flags (as shown), then don't set GIE.
<br>
When you enable GIE (INTCON.7) you have to have an Interrupt Handler for it to jump to.
If you just want to Poll the flags (as shown), then don't set GIE.
<br>
DT
Bookmarks