I'm working with a DS1307 real time clock and each time I change my program, I have to change the date & time values in the writei2c command to set the current time. It's starting to annoy me having to do this repeatedly. I will eventually get a 3V backup battery & holder to connect to the DS1307 so it doesn't lose it's time when I remove power, but until then...
Is there any way I can use a program to set the date & time automatically in the DS1307. ie : get the values of the PC's clock and write them to variables and then to the DS1307?
-Alan
Is there any way I can use a program to set the date & time automatically in the DS1307. ie : get the values of the PC's clock and write them to variables and then to the DS1307?
-Alan