I've got a new project on a PIC16F877 which uses several PORTB pins. 2 of these are "interrupt-on-change", one is the normal INT pin, one is a plain polled input pin, and some are output. (Basically, we want 4 interrupt-on-change pins, but RB6:7 have to be used for in-circuit programming)
Is there a safe way to read the normal input pin without messing up the interrupt-on-change pins? The code outside of the ISR already wraps all of the reads/writes to PORTB bits in macros.
-- Darin Johnson