Hi,
I had looked at those examples before, but as I said in my question, this code does not compile with a PIC16F87 as the register SSPCON2 is not there.
So my question is what do I need to modify from this example.