KL25Z internal RTC doesn't work. Original DHT library throws "no patience error"

Dependents:   meteo_station

Fork of DHT by Wim De Roeve

Files at this revision

API Documentation at this revision

Comitter:
ValenSalLop
Date:
Sat Apr 29 15:13:32 2017 +0000
Parent:
1:7c1bd037ff67
Commit message:
Refactor & Wake up interruption added; (DHT library doesn't work with KL25Z internal RTC)

Changed in this revision

DHT.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7c1bd037ff67 -r 16df1fb443d0 DHT.cpp
--- a/DHT.cpp	Sat Apr 29 15:10:23 2017 +0000
+++ b/DHT.cpp	Sat Apr 29 15:13:32 2017 +0000
@@ -56,7 +56,7 @@
         bitTimes[i] = 0;
     }
 
-    /* RTC NO FUNCIONA
+    /* RTC doesn't work on KL25z Rev.C
     if (!_firsttime) {
         if (int(currentTime - _lastReadTime) < 2) {
             err = ERROR_NO_PATIENCE;