Temp and Humidity sensor device driver. had to fork under a new name, don't know why yet.

Dependents:   Wio-example-SORACOM-Harvest

Revision:
8:4a66ebac2a2c
Parent:
6:49350e4b126d
diff -r a43e070f753f -r 4a66ebac2a2c DHT.h
--- a/DHT.h	Sat Jan 04 20:23:27 2020 -0400
+++ b/DHT.h	Wed Jan 29 08:32:03 2020 -0400
@@ -76,7 +76,8 @@
     float ReadTemperature(eScale Scale);
     float CalcdewPoint(float celsius, float humidity);
     float CalcdewPointFast(float celsius, float humidity);
-
+    int DHT_data[6];
+    
 private:
     time_t  _lastReadTime;
     float _lastTemperature;
@@ -84,7 +85,7 @@
     PinName _pin;
     bool _firsttime;
     int _DHTtype;
-    int DHT_data[6];
+    //int DHT_data[6];
     float CalcTemperature();
     float CalcHumidity();
     float ConvertCelciustoFarenheit(float);