I have seen several examples of hardware I2C slaves on this forum. When I try to implement them, they never work. Most of the code is for 16F devices, which I avoid like the plague. I'm sure the problem is in front of my keyboard, but realizing that doesn't get my project working.

Is anyone willing to provide me with a block of tested code for 18Fs?