how to add eeprom for remember led on or off

Have you tried any of the EEPROM examples?

Please remember to use code tags when posting code.