Quote Originally Posted by Jerson View Post
This looks like interrupt based operation of DS1307 to read the RTC. You cannot do this. What you can do is set a bit variable while you are reading the rtc and use this to avoid writing to the eeprom.
the program was written : for to measure frequency and amper and if it is greater then desired value write it to the eeprom. it will be a logger