You can read about I2C protocol in most of PIC data sheet's, what part of the I2C commands in mikroC you find problematic?
Code:
I2C_Init(100000); // initialize I2C communication
I2C_Start(); // issue I2C start signal
I2C_Wr(0xA2); // send byte via I2C (device address + W)
I2C_Wr(2); // send byte (address of EEPROM location)
I2C_Wr(0xF0); // send data (data to be written)
I2C_Stop(); // issue I2C stop signal
Delay_100ms(); [COLOR="Blue"]//Delay for 100 milliseconds[/COLOR]
I2C_Start(); // issue I2C start signal
I2C_Wr(0xA2); // send byte via I2C (device address + W)
I2C_Wr(2); // send byte (data address)
I2C_Repeated_Start(); // issue I2C signal repeated start
I2C_Wr(0xA3); // send byte (device address + R)
PORTB = I2C_Rd(0u); // Read the data (NO acknowledge)
I2C_Stop(); // issue I2C stop signal
can you pinpoint the part of the code that is not clear and I'll try to explain it to you.