DS1307 question
Friends:
On the DS1307 Real Time Clock, how do you set/read the front two digits of the year? i.e. the "20" in 2011?
BS2.
Also, which DS1307 replacement do you suggest since there are so many newer ones? One that is in a board already.
Thanks amigos,
Migs
On the DS1307 Real Time Clock, how do you set/read the front two digits of the year? i.e. the "20" in 2011?
BS2.
Also, which DS1307 replacement do you suggest since there are so many newer ones? One that is in a board already.
Thanks amigos,
Migs
Comments
The attached basic stamp code lets you set the DS1307 in either 12 or 24 hour mode.
If you comment out the Define for UseLCD it will ignore the code for the LCD display.
I like the DS3231 chip - it is much more accurate than the DS1307 and the ChronoDot is a nice module:
http://macetech.com/store/index.php?main_page=product_info&cPath=5&products_id=8
Thanks for the very clean and understandable example code!
Migs
Dear Miguel
The DS1307 does not have Century information like some other clocks like the DS1346. You will have to keep track of this external to the device.
Thanks and Regards,
HAS
Maxim Integrated Products: Innovation Delivered
http://www.maxim-ic.com