AT24C256 32KB ESP32

Job ID: 38676253

Budget: $30 – $250 USD

I need to create a list of events, where I need to save and read the following information, as shown in the example shown below. The list must be displayed on a 16x2 display as shown in the attached image, the event list must have the capacity to store at least 3500 events containing this information.
The hardware used is an ESP32 and a AT24C256 memory.
The index value (indexValue) is to record the sequence of events that should start from 1 to 3500, the reading of the events should bring the data information of each position.
The functions shown below, is just an example can be created in the best way.

RTC DS3232
int diaLocal = day;
int mesLocal = month;
int anoLocal = year % 100;
int horaLocal = hour;
int minutoLocal = minute;
int segundosLocal = second;

void salvarDataHoraEEPROM(int devAddress, int endereco, int dia, int mes, int ano, int hora, int minuto, int segundos, int tipoEvento);

void lerDataHoraEEPROM(int devAddress, int endereco, int &dia, int &mes, int &ano, int &hora, int &minuto, int &segundos, int &tipoEvento);

void gravarIndiceEEPROM(int devAddress, int enderecoIndice, int valorIndice);

int lerIndiceEEPROM(int devAddress, int enderecoIndice);