debugging result of eeprom Red line indicate that reading is not correct
reading from page..help me in this,what I am doing wrong
function of read page from eeprom...help me find the solution
Unsigned int
read_page_from_eeprom(unsigned char
addr)
{
StartI2c();
While(writeI2c(device_addr + 0)==1)
{
StartI2c();
}
writeI2c(addr>>8)
writeI2c(unsigned char) addr);
Repeated_start_i2c();
writeI2c(device_addr + 1);
Delay();
rxdata=readI2c();
SendNak();
Stopi2c();
}