DHT()

Create the DHT object, using a specific pin. DHT dht_sensor(pin, type)
dht_sensor: a variable of type DHT. pin: pin with which this library will work. type: тип датчика:
  • DHT11
  • DHT12
  • DHT21
  • DHT22
  • AM2301
nothing