Hello,
Can someone kindly tell me how to mask the PortB interrupts so only RB6 is used as an interrupt on change and the other PortB pins are used as normal input and output pins?
I assume that it is necessary to use a C-code block after enabling the interrupt, but I can't figure out how to do it from reading the datasheet for the PIC 18F2685.
I have searched this question on the forums and have not been able to find an answer that applies to the 18F2685.
Thanks!
Masking PortB interrupts for PIC 18F2685
-
- Posts: 17
- http://meble-kuchenne.info.pl
- Joined: Tue Jul 05, 2022 8:54 am
- Has thanked: 9 times
- Been thanked: 3 times