removed silly included mbed library..
Fork of DHT11 by
Diff: Dht11.cpp
- Revision:
- 2:65c4ca53154d
- Parent:
- 1:5da6f6de3e42
diff -r 5da6f6de3e42 -r 65c4ca53154d Dht11.cpp --- a/Dht11.cpp Mon Feb 16 01:43:08 2015 +0000 +++ b/Dht11.cpp Mon Jul 10 15:20:33 2017 +0000 @@ -80,10 +80,10 @@ return((_temperature * 1.8) + 32); } -int Dht11::getCelsius() { +float Dht11::getCelsius() { return(_temperature); } -int Dht11::getHumidity() { +float Dht11::getHumidity() { return(_humidity); }