Adapted library

Fork of DHT by Wim De Roeve

Revision:
1:1c743b3c7098
Parent:
0:9b5b3200688f
--- a/DHT.cpp	Mon Jul 09 19:47:43 2012 +0000
+++ b/DHT.cpp	Fri Mar 18 13:12:32 2016 +0000
@@ -158,10 +158,10 @@
             v = DHT_data[2] & 0x7F;
             v *= 256;
             v += DHT_data[3];
-            v /= 10;
+            //v /= 10;
             if (DHT_data[2] & 0x80)
                 v *= -1;
-            return float(v);
+            return float (v);
     }
     return 0;
 }
@@ -224,7 +224,7 @@
             v = DHT_data[0];
             v *= 256;
             v += DHT_data[1];
-            v /= 10;
+            //v /= 10;
             return float(v);
     }
     return 0;