mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
13d25e6b9a | |||
8de033bae1 | |||
a7157aa586 | |||
4f841c64b2 | |||
d0a1035985 | |||
7528a843dd | |||
5ce3bce49c | |||
44a80e01e6 |
5
DHT.cpp
5
DHT.cpp
@ -26,7 +26,9 @@
|
||||
#include "DHT.h"
|
||||
|
||||
#define MIN_INTERVAL 2000 /**< min interval value */
|
||||
#define TIMEOUT -1 /**< timeout on */
|
||||
#define TIMEOUT \
|
||||
UINT32_MAX /**< Used programmatically for timeout. \
|
||||
Not a timeout duration. Type: uint32_t. */
|
||||
|
||||
/*!
|
||||
* @brief Instantiates a new DHT class
|
||||
@ -38,6 +40,7 @@
|
||||
* number of sensors
|
||||
*/
|
||||
DHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {
|
||||
(void)count; // Workaround to avoid compiler warning.
|
||||
_pin = pin;
|
||||
_type = type;
|
||||
#ifdef __AVR
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=DHT sensor library
|
||||
version=1.3.9
|
||||
version=1.3.10
|
||||
author=Adafruit
|
||||
maintainer=Adafruit <info@adafruit.com>
|
||||
sentence=Arduino library for DHT11, DHT22, etc Temp & Humidity Sensors
|
||||
|
Reference in New Issue
Block a user