Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DS1307 by
Revision 1:6a504db47332, committed 2014-12-04
- Comitter:
- Michielber
- Date:
- Thu Dec 04 10:35:55 2014 +0000
- Parent:
- 0:c3e4da8feb10
- Commit message:
- 4/12/2014 Berckvens Michiel & Basteyns Jonas
Changed in this revision
| ds1307.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ds1307.h Sun Jun 24 22:09:35 2012 +0000
+++ b/ds1307.h Thu Dec 04 10:35:55 2014 +0000
@@ -67,15 +67,17 @@
* int main() {
* int junk = 0;
*
- * sec = 24; // 24 seconds
- * min = 13; // 13 min
- * hours = 13; // 1 pm
- * day = 4; // wednesday
- * date = 20; // June 20
- * month = 6;
- * year = 12; // 2012
+ * sec = 00; // 24 seconds
+
+ * min = 08; // 13 min
+ * hours = 11; // 1 pm
+ * day = 5; // wednesday
+ * date = 04; // June 20
+ * month = 12;
+ * year = 14; // 2012
* // set time to these values on the ds1307 connected device
*
+ *
* test_rw(my1307.settime( sec, min, hours, day, date, month, year));
* pc.printf("seconds set are %.2D \n\r",sec);
* pc.printf("min set are %.2D \n\r",min);
