Kconfig 412 B

12345678910111213
  1. menu "DHT22 configuration"
  2. orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
  3. config DHT_PIN
  4. int "DHT pin configuration"
  5. default 4
  6. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  7. help
  8. GPIO number where the DHT22 data pin is connected.
  9. Make sure the pin supports input/output and has pull-up if needed.
  10. endmenu