Sweet!
Yes, you're correct.When wanting to use the RBC_INT I found I had to set IOCB to get the interrupt to work on one input of PORTB.
I shouldn't have said "... or any other interrupt related registers manually". That was a little too broad.
There are several registers like IOCB that will need to be changed.
I probably should have limited it to ... "You should NOT set INTCON, PIEx, PIRx, IPRx". As those are the only interrupt bits that DT_INTS does handle for you.
Thanks for the correction.
Which is why the "best" seats in my house "belong" to the cats.If you want the best seat in the house, you will have to move the Cat.
They know not to sit in mine ... they might get sat on.![]()





Bookmarks