|
Basic concepts on port RB interrupt |
||
How to detect events (edges on signal changes)?
(under preparation)
A Port B (RB) hardware.
Fig. 1. |
Enabling external RB interrupts. Configuration bits.
Fig. 2. |
- Tutorial example on the use of the Port B and external INT interrupts. Class discussion (1), (2). This is the adaptation when using this demonstration board. [Replace PIC16F877 by PIC18F4520)]
Example tutorial.
RBIF (interrupt-on-change). How to interface a matrix keyboard at PORTB? Pull-up resistors and interrupt flag RBIF (interrupt-on-change feature recommended for wake-up on key depression operations.