Commit Graph

13 Commits

Author SHA1 Message Date
Zirientis
a2208eb813 Cause interrupts to be reenabled if a timeout occurs while waiting for the sensor. 2015-07-01 17:58:17 -07:00
Tony DiCola
ef9590ad96 Fix merge conflicts, make compute heat index default to Fahrenheit to not break old code that assumes default is Fahrenheit. 2015-06-26 15:56:04 -07:00
Tony DiCola
9d7a9da8ae Refactor algorithm to dynamically adjust to faster/slower processors. Fix #35 #30. 2015-06-26 15:14:17 -07:00
Igor Scheller
25942ac8b9 Added support for Celsius in computeHeatIndex 2014-11-01 12:27:16 +01:00
Tony DiCola
7f7425f11e Resolve #24 by adding convert F to C function. 2014-07-25 19:34:35 -07:00
Tony DiCola
f2a48d6267 Resolve issue #20 by moving delay after 2 second read check to make read return quickly. 2014-06-02 13:41:12 -07:00
Tony DiCola
9611395a77 Switch to use noInterrupts and interrupts function. make read() public. This resolves pull #15. 2014-06-02 13:13:50 -07:00
Tony DiCola
ce05c3536c Remove serial.print from library and update example error handling. Resolves issue #11 and #13. 2014-06-02 13:03:27 -07:00
Tony DiCola
ffac2f15b7 Update example to show temp in Fahrenheit and add computeHeatIndex function to resolve issue #9. 2014-06-02 12:54:54 -07:00
Lars Kirkeskov Sørup
ad73fab623 Support for non 16mhz devices
Added constructor parameter to allow for different timing needs. It has
the a default value of 6 which is the original value, so it should be
backwards compatible
2012-12-29 19:14:51 +01:00
leprasmurf
a3d1dc78bf Added option for converting to Fahrenheit 2012-02-22 22:26:16 -05:00
Ladyada
57ac62dab7 fully tested working DHT11/21/22 with built in '2 second' timer 2011-06-22 13:11:06 -04:00
Ladyada
7ecd3141a8 touch commit 2011-06-20 19:47:50 -04:00