ccs811 & hdc1080 integration done

mqtt publish to abstrchin added
http connection error threating for ESPx, DUE, STM fixed
ESP8266 pin conflict between sensor WAK and DMX OUT fixed
DHT begin added
This commit is contained in:
2019-03-30 20:20:32 +03:00
parent b30b9346fb
commit 9b1c2e5889
6 changed files with 67 additions and 14 deletions

View File

@@ -362,6 +362,7 @@ void Input::dht22Poll() {
float humidity = roundf(dhtSensorData.humidity);
#else
DHT dht(pin, DHT22);
dht.begin();
float temp = dht.readTemperature();
float humidity = dht.readHumidity();
#endif