I2C serial EEPROM (24LC65) functions are provided in the libraries

LIB/i2c_24lc65_lib.bas


 
24LC65 driver description  
I2C_24LC65_init Initialises the 24LC65 drivers and I2C hardware
I2C_24LC65_read Read a single byte from a 24LC65 serial EEPROM
I2C_24LC65_write Write a single byte to a 24LC65 serial EEPROM
I2C_24LC65_read_array Read multiple bytes from a 24LC65 serial EEPROM into an array
I2C_24LC65_write_array Write multiple bytes to a 24LC65 serial EEPROM from an array