yviswanathbe
Full Member level 4
regarding i2c
Dear Friends,
I have 2 microcontrolles Atmega16 and Atmega8 connected in I2C configuration.
and RTC DS1307 also sharing I2C connection.
Master is Atmega16 and
remaining two are slaves.
I have done interfacing using I2C between Controller and RTC,bt i dint do for two controllers.DS1307 will have its own address for communicating on I2C,bt what is the address of the controllr?
Can any body share me how to start with I2C for two controllers?
Please sugest me with some example code for Master-Slave communication.
Thanks & Regards,
Y.Viswanath.
Dear Friends,
I have 2 microcontrolles Atmega16 and Atmega8 connected in I2C configuration.
and RTC DS1307 also sharing I2C connection.
Master is Atmega16 and
remaining two are slaves.
I have done interfacing using I2C between Controller and RTC,bt i dint do for two controllers.DS1307 will have its own address for communicating on I2C,bt what is the address of the controllr?
Can any body share me how to start with I2C for two controllers?
Please sugest me with some example code for Master-Slave communication.
Thanks & Regards,
Y.Viswanath.