I use EEPROM of PIC16f887 for data saving. Value increment by switch press and same store in EEPROM and display.
Both value of number and EEPROM Display on LCD.
Issue Observed: EEPROM Value same as last incremented value during reset the controller.
EEPROM value not same as per last incremented value when power to IC Turn off for more than 30 Sec.