Problem with EEPROM writing and reading integer array

Hi,

I'm new to EEPROM and saving data on Arduino. I've been trying to write a code to save arrays of servo position (800 positions) with EEPROM. it keeps giving me this error for compiling: "no matching function for call to 'EEPROMClass::read(int&, int&)' ", and yet, I don't know what it means or how to fix it. this is roughly the code I've written so far. any suggestion will be appreciated.

Thanks,
Parvin

ServoArray_trial3.ino (27.3 KB)

How many parameters does EEPROMRead take as input?

Which Arduino board are you using ?

ServoPos is an array of ints (why not bytes?)

EEPROM.write(addr  , servoPos[i][j]);

EEPROM.write() stores a byte. Do you see a problem ?