https://deepbluembedded.com/reading-and-writing-serial-i2c-eeprom-with-pic/
Reading And Writing Serial I2C EEPROM With PIC