If RBIE, the RB port change interrupt bit in the INTCON register, is set to 1, will a change on any RB bit result in an interrupt? I'm wondering if an interrupt is generated only if a change is detected on an RB bit that has been designated as in input, or, will an interrupt also be generated if a an RB bit that has been designated as an output changes state as a result of the PIC program itself writing something to it. Thanks.