Code to show how to implement an I2C Slave on a midrange PIC