Library to make use of the DS1302 timekeeping IC. The functions are identical to those used by the mbed RTC's

Dependents:   temp_humid_time_DS1302_LM35_DHT11 temp_humid_light_time_DS1302_LM35_DHT11_LDR DSKY DS1302_HelloWorld ... more

HelloWorld program: https://mbed.org/users/Sissors/code/DS1302_HelloWorld/

For usage of the returned UNIX time code, see for example https://mbed.org/handbook/Time, http://www.cplusplus.com/reference/ctime/strftime/?kw=strftime and http://mbed.org/handbook/Time?action=view&revision=11592

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Mon Mar 31 21:26:14 2014 +0000
Parent:
0:c7cea2a415c3
Commit message:
Fixed doxygen

Changed in this revision

DS1302.h Show annotated file Show diff for this revision Revisions of this file
diff -r c7cea2a415c3 -r 9a746f303e59 DS1302.h
--- a/DS1302.h	Mon Mar 31 20:53:13 2014 +0000
+++ b/DS1302.h	Mon Mar 31 21:26:14 2014 +0000
@@ -106,7 +106,7 @@
     void storeByte(char address, char data);
 
     /**
-    * Store a byte in the battery-backed RAM
+    * Recall a byte from the battery-backed RAM
     *
     * @param address address where to retrieve the data (0-30)
     * @return the stored data