Modified DHT11 Library with floated variable to allow readings in Centigrade

Dependencies:   mbed

Dependents:   mbed_plant_rig

Fork of DHT11 by Eric Fossum

Revision:
2:65c4ca53154d
Parent:
1:5da6f6de3e42
--- a/Dht11.h	Mon Feb 16 01:43:08 2015 +0000
+++ b/Dht11.h	Mon Jul 10 15:20:33 2017 +0000
@@ -51,14 +51,14 @@
      * @returns
      *   Celsius int
      */
-    int getCelsius();
+    float getCelsius();
     
     /** Get the humidity from the saved object.
      *
      * @returns
      *   Humidity percent int
      */
-    int getHumidity();
+    float getHumidity();
 
 private:
     /// percentage of humidity