I'm using the 16F628 to read in the time from a RTC and store in the eeprom whenever a certain criteria is met on a IO pin.
I plan to keep the last 5 times read so the data should should be scrolling - the oldest time always overwritten by the previous oldest time etc.
What would be the easiest way programatically to do this? Save the times to location a,b,c,d,e and then start again at a - or to move the data from d to e, c to d, b to c, a to b and then save the new time to a.
I also want to display the last 5 times - so if I use method 2 I could display A through E.
To display with method 1 could be more tricky?
Am I on the right track or is there an easier way to accomplish this?
I plan to keep the last 5 times read so the data should should be scrolling - the oldest time always overwritten by the previous oldest time etc.
What would be the easiest way programatically to do this? Save the times to location a,b,c,d,e and then start again at a - or to move the data from d to e, c to d, b to c, a to b and then save the new time to a.
I also want to display the last 5 times - so if I use method 2 I could display A through E.
To display with method 1 could be more tricky?
Am I on the right track or is there an easier way to accomplish this?