menu "DHT22 configuration"

    orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"

    config DHT_PIN
        int "DHT pin configuration"
        default 4
        range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
        help 
            GPIO number where the DHT22 data pin is connected.
            Make sure the pin supports input/output and has pull-up if needed.

endmenu