hai i am doing project using pic18f458 and eeprom 24c02 & i done read write operations correctly but its memory is only 256 bytes , i need memory more than this so i choose eeprom 24c32.
In 24c02 i am writing only "one 8bit" data but in 24c32 i need to write "two 8bit" data,so i need to know how to write two 8 bit data.
ex:for 24c02
let m3=10;//memory location
i2c_eeprom_write(m3,0,dat[0]);
m3=m3+2;
whatever data in the dat[0] its writing in memory location m3 i.e 10 and i don't know o in above i2c_eeprom_write instruction ,in eeprom.c its given like i2c_eeprom_write(unsigned long int addrh,unsigned char addrl,unsigned char data)