Hi. I have some (interrupt?) problem with the P16F84. In the application where the P16F84 is present, I use the RB0-RB7 either as input or as output. The output is connected to a lcd-display and the input to a keyboard.
 
When the application changes the state of RB0-RB7 >from input to output and the value on the input differs from the output (e.g. the P16F84 writes 00101100 to the lcd-display, changes to input,  and the value from the keyboard is  01100110.) it looks like P16F84 gets an interrupt, which I don't want to happen.
 
I know that the RB4-RB7 have an interrupt on change feature, but isn't that disabled by setting the bit 7 in INTCON to 0. If not, how should I do to disable that.
 
Stefan Holm