Joseph Ellsworth / Mbed 2 deprecated xj-Init-clock-to-compile-time-if-not-already-initialized-ds1302

Dependencies:   DS1302 compile_time_to_system_time mbed

Fork of DS1302_HelloWorld by Erik -

Files at this revision

API Documentation at this revision

Comitter:
joeata2wh
Date:
Wed Mar 30 14:50:02 2016 +0000
Parent:
2:be7af7513a1b
Commit message:
update to use MIT license

Changed in this revision

compile_time_to_system_time.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r be7af7513a1b -r a51d2418c6fe compile_time_to_system_time.lib
--- a/compile_time_to_system_time.lib	Mon Mar 28 05:58:07 2016 +0000
+++ b/compile_time_to_system_time.lib	Wed Mar 30 14:50:02 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/joeata2wh/code/compile_time_to_system_time/#5f3730f44e19
+https://developer.mbed.org/users/joeata2wh/code/compile_time_to_system_time/#3e55cf9d76e6
diff -r be7af7513a1b -r a51d2418c6fe main.cpp
--- a/main.cpp	Mon Mar 28 05:58:07 2016 +0000
+++ b/main.cpp	Wed Mar 30 14:50:02 2016 +0000
@@ -9,13 +9,16 @@
  that set the CPU time to reflect the clock chip time
  on startup.
  
- By Jose Ellsworth CTO of A2WH  Free use for all, No promises, no warranty
+  By Joseph Ellsworth CTO of A2WH
+  Take a look at A2WH.com Producing Water from Air using Solar Energy
+  March-2016 License: https://developer.mbed.org/handbook/MIT-Licence 
  
  NOTE:  To force reset of clock time change ClockSetSentinal to a different
  value.  Or you can change on the compare statement below if you want to keep
  the same sentinal. 
+ 
 */
-#define ClockSetSentinal 20
+#define ClockSetSentinal 19
 #include "mbed.h"
 #include "DS1302.h"
 #include "compile_time_to_system_time.h"