I have successfully carried out TWI full duplex communication between one MASTER and one SLAVE using Atmega 128. Now I want my one MASTER to communicate with many other SLAVES.
I my programme I have changed slave addresses using 'for' loop and then sent START condition so that my MASTER will communicate with different SLAVES.
The SLAVE programme has been kept as it is as it was for one MASTER , one SLAVE communication.The only change that I made is I changed address register of different SLAVES with their respective addresses.
So what do you think could be the problem?
I think that problem could be in SLAVE programme itself because if I send any one address at a time from MASTER then the SLAVE communicates.
I also attach my programme files.