SADA
Diff: DHT.cpp
- Revision:
- 6:b3ec6bbb9565
- Parent:
- 5:cce2105f7365
--- a/DHT.cpp Sat Jan 07 22:26:26 2017 +0000 +++ b/DHT.cpp Sat Feb 15 16:40:35 2020 +0000 @@ -156,6 +156,7 @@ v /= 10; if (DHT_data[2] & 0x80) // if first bit of DHT_data[2] is 1 then the temperature is negative. v *= -1; + v=v/28; return float(v); } return 0;