only getting value 255 from EEPROM

MarkT:
That's a bug, it should be fixed, not worked around.

delay() usually causes problems of its own, such as missing a reading you do want, or interfering with
other code on the slave.

the master sends data once every second (which is a value of the potentiometer) to the slave. Is this maybe a reason why the slave got the same data multiple times? I thought i had fixed it by putting the delay in but you say i just worked around it how do you suggest i fix it?

I just started with arduino and am new to programming thx for the help.