The legacy versions of Plib I2C has code for I2C1 and I2C2 only. When you try and use fro I2C3, I2C4 etc you're buggered. You have to use the modern I2C functions instead which is just great because they are horribly documented and don't have direct equivalents for things like IdleI2C1(). Setup I2C Bus //—– SETUP […]