Greetings Richard,
you are correct. I can use RBC interrupt.
The only limitation is that, between RB4 and RB7, the pins that will trigger the interrupt are the ones set as inputs.
If I only want one pin, I need to set the others as outputs.
Thank you so much for your help.
Best regards
Bookmarks