This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_DHT

DHT Temperature and Humidity Sensor

Type: bool

Help

Enable driver for the DHT temperature and humidity sensor family.

Direct dependencies

GPIO && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/sensor/dht/Kconfig:6

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:62drivers/sensor/Kconfig:79

Menu path: (Top) → Device Drivers → Sensor Drivers

config DHT
    bool "DHT Temperature and Humidity Sensor"
    depends on GPIO && SENSOR
    help
      Enable driver for the DHT temperature and humidity sensor family.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)