When the framework is specified includes espidf, the project that compiles successfully cannot get the temperature and humidity values.
Code: Select all
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino, espidf
monitor_speed = 115200
monitor_raw = yes
lib_deps =
adafruit/Adafruit Unified Sensor@^1.1.9
adafruit/DHT sensor library@^1.4.4
Code: Select all
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
monitor_speed = 115200
monitor_raw = yes
lib_deps =
adafruit/Adafruit Unified Sensor@^1.1.9
adafruit/DHT sensor library@^1.4.4
- Arduino board: ESP32-WROVER-E
- Arduino IDE version:
PlatformIO Core 6.1.7
PlatformIO Home 3.4.4