Commit Graph

9 Commits

Author SHA1 Message Date
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
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
Colin Miller
fca71323bd Prevent dht.h being imported multiple times
Added a basic #ifndef DHT_H to the dht.h file so that if you have a
larger program and want to access the sensor from a different file, you
don't import it twice.
2012-07-26 21:39:47 -07:00
Paint Your Dragon
53e6481231 Default argument for compatibility with old sketches 2012-02-23 11:43:30 -08:00
leprasmurf
8f46f27b66 Modified readTemperature() prototype. Added prototype for new function. 2012-02-22 22:20:19 -05:00
Paint Your Dragon
cffd745009 Arduino 1.0 compliant 2011-12-02 19:50:02 -08: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