Hi.
I am comfused about eeprom size of arduino. for example, i am using arduino MEGA that have 4KB (4096bytes)
i need to write and read numbers in specific place of eeprom
i am using this code:
int eeprom_data_position;
int eeprom_data;
EEPROM.write(eeprom_data_position, eeprom_data);
//for example
EEPROM.write(1256,212); //on position 1256 write the number 212
if EEPROM have the size of 4096bytes doesnt that means that i can store on position 0-4095 values 0-255?
why when i am trying to store on position that is more than 4095 it still works? (for example EEPROM.write(8022,252), if after this i try to read position 8022 it reads sussesfull the data 252.
is this becouse it actually it writes data in some other position bettwen 0-4095?
please somenone explain me