Or use an ST M41T81 in place of the DS1307. It automatically stores a timestamp whenever it goes on battery power allowing you to track power failure durations.
Or use an ST M41T81 in place of the DS1307. It automatically stores a timestamp whenever it goes on battery power allowing you to track power failure durations.
The way I see its going towards array and long!!, unless there is another method.
A simpler description of what I am looking is:
I2Cread time1
record time1
...code...
I2Cread time2
record time2
...code...
I2Cread time3
record time3
...code...
So I can keep 100 different times
K
Bookmarks