The design below shows how to implement an I2C-bus.
Note that you can select which port pins you want to use for the I2C interface with the compiler settings.
You can also select the SDA and SCL pin with the CONFIG SDA and
CONFIG SCL statement.