Vizier87
Active Member
Port C sda and scl 2 and 3 have to be inputs... right now you have them low and outputs..
portc = 0;
trisc = 0xff; <---- has to be inputs..
Err I thought the SPI signals from the PIC is a "master" right?
Also, weren't these things are configured the moment we used the I2C_init()?