Hello. I have an inquiry to make regarding the I2C port of the 16f877. I have it working alright but there is something strange happening. It says in the datasheets that the SDA and SCL pins must be set as inputs. I did that and it works fine except for one slave. If I set its I2C pins as inputs, things get stuck. If I comment out the 'TRISC = 0x00011000;' line, things work fine again! The SDA and SCL pins of the other slaves are set as inputs and things are fine with them. Can anyone please provide an explanation for this? Thanks a lot.