I would like to use the DS1302, as a count up timer. My goal is to have the arduino time the amount of me driving my car. So it DS1302 will be used a count-up timer ie accumulate time. however when the car is switched off, I don't want to lose the value, and when I use my car again I would like to the time to continue accumulating. The resolution can be in minutes, as this will probably be the best.
I would like something like an odometer of a car, except its going to be the time, instead of distance.
Q: Can this be done with the DS1302 Module? and also how can I do this? Is there a sample code for a count-up timer?