Minor changes
This commit is contained in:
@ -102,7 +102,6 @@ void setup()
|
|||||||
if (sensorType == ENST_DHT11 || sensorType == ENST_DHT22)
|
if (sensorType == ENST_DHT11 || sensorType == ENST_DHT22)
|
||||||
dht.setup(sensorPin, DHTesp::AUTO_DETECT);
|
dht.setup(sensorPin, DHTesp::AUTO_DETECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (relayPin)
|
if (relayPin)
|
||||||
{
|
{
|
||||||
pinMode(relayPin, OUTPUT);
|
pinMode(relayPin, OUTPUT);
|
||||||
|
Reference in New Issue
Block a user