PDA

View Full Version : Pic w/ RJ45 using I2C



creatingideas
- 5th October 2008, 03:08
I have read through the different threads about I2C but I can't seem to get it working.

Has anyone tried to communicate 2 PICs with an RJ45 (ethernet port, just using them as wires) connector? All the sample code I have read deals with an address to the slave is that required?

Thanks...

skimask
- 5th October 2008, 05:40
I have read through the different threads about I2C but I can't seem to get it working.
Has anyone tried to communicate 2 PICs with an RJ45 (ethernet port, just using them as wires) connector? All the sample code I have read deals with an address to the slave is that required?
Thanks...

http://www.picbasic.co.uk/forum/showthread.php?t=5632&highlight=slave

PBP doesn't directly support I2C Slave, only I2C master. But the link above seems to have some working code for both I2C master and slave.