I2C PIC | Microcontroller › PIC › I2C PIC This topic has 1 reply, 2 voices, and was last updated 6 years ago by Hari Prasaath K. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 22, 2016 at 7:11 am #4309 shreyaParticipant hello, How to write C code for initializing the SDA and SCL pins for PIC18F4550 microcontroller. void main (void) { TRISBbits.RB0 = 0; TRISBbits.RB1 = 0; } Thankyou. September 5, 2018 at 5:24 pm #14901 Hari Prasaath KParticipant Refer the below link for detailed info on configuring i2c openlabpro.com/guide/i2c-module-in-pic18f4550/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In