Author |
Message |
Topic: Master and slave I2C implemented on one PIC |
XyVy
Replies: 2
Views: 71590
|
Forum: Code Library Posted: Thu Sep 11, 2008 2:40 am Subject: Master and slave I2C implemented on one PIC |
Good news guys!
I have solved my problem.
I put the uses like:
#use i2c(MASTER, sda=PIN_A0, scl=PIN_A1, address=0xB0, stream=i2cM)
#use i2c(SLAVE, sda=PIN_C4, scl=PIN_C3, address = 0x08, for ... |
Topic: Master and slave I2C implemented on one PIC |
XyVy
Replies: 2
Views: 71590
|
Forum: Code Library Posted: Wed Sep 10, 2008 3:16 am Subject: Master and slave I2C implemented on one PIC |
Hello Jallum, I need to do work i2c master and slave in the same PIC, but when I introduce the #use i2c(master...) the slave side does not work, but if I delete the #use i2c(master...) line, the slave ... |
|
Page 1 of 1 |
All times are GMT - 6 Hours |
Powered by phpBB © 2001, 2005 phpBB Group
|