Thanks Ttelmah! I was looking for a simple explanation like yours but I couldn't find one anywhere. I'll try to implement the code tomorrow and get back to you.
On the PIC, you are selecting to write to the slave.....
Not surprising you don't read the right value back.
You can only read data from the slave read address.
I'm trying to get i2c communication between a PIC 16F1827 and an Arduino nano to transfer some data (an int).
I have been able to get Arduino to Arduino i2c to work but not between th ...