hi friends,
i'm making a counter using 89c51 & 7-segment displays. i want to save the last value in eeprom on a power failure. i have the write routines required to write to eeprom but i don't no how to create an interrupt on power failue. my idea is to have a big condensor 2200 uC and use it's power, on power failure, to write to eeprom. i'm using 24c02 eeprom.
Thanks a lot.
Amit
i'm making a counter using 89c51 & 7-segment displays. i want to save the last value in eeprom on a power failure. i have the write routines required to write to eeprom but i don't no how to create an interrupt on power failue. my idea is to have a big condensor 2200 uC and use it's power, on power failure, to write to eeprom. i'm using 24c02 eeprom.
Thanks a lot.
Amit