You are doing it 50 times per second. You are correct only if your program only ever ran for a total time of 4 seconds (disregarding the time taken by the EEPROM write itself).
You are doing it 50 times per second. You are correct only if your program only ever ran for a total time of 4 seconds (disregarding the time taken by the EEPROM write itself).