Yes, the PBP I2C command takes care of everything for you.
This might help.
http://www.picbasic.co.uk/forum/cont...-EEPROM-Part-1