The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_DHT_NAME

Driver name

Type: string

Help

Device name with which the sensor is identified.

Direct dependencies

DHT && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/dht/Kconfig:35

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:62drivers/sensor/Kconfig:54

Menu path: (top menu) → Device Drivers → Sensor Drivers → DHT Temperature and Humidity Sensor

config DHT_NAME
    string
    prompt "Driver name" if DHT && SENSOR
    default "DHT11" if DHT_CHIP_DHT11 && DHT && SENSOR
    default "DHT22" if DHT_CHIP_DHT22 && DHT && SENSOR
    depends on DHT && SENSOR
    help
      Device name with which the sensor is identified.

(Definitions include propagated dependencies, including from if’s and menus.)