DS1307 Real-Time-Clock (X14) and BS2P40 on Professional Development Board
Hi,
What kind of programming commands would I use to get the time from the DS1307 time clock? Does this clock also display a date? How do I set the time and date for this clock? Thanks.
What kind of programming commands would I use to get the time from the DS1307 time clock? Does this clock also display a date? How do I set the time and date for this clock? Thanks.
Comments
The I2Cxxx statements are what you would use. The Basic Stamp Manual describes these in detail and Experiment #33 in the StampWorks Manual gives examples of their use with the DS1307 on the PDB.
Here's one Nuts and Volts Column that mentions briefly using an I2C Real-Time Clock (not the DS1307 though).
Here's a link to the DS1307 datasheet.