Very new to using platformio, trying to use the DHT 22 sensor with a standard ESP 32 development board.
I have tried to include all the library files but I’m getting one error as below:
when you try and hover over the statement it reads DHT.h no such file or directory
I tried adding the file into the platformio.ini
platform = https://github.com/platformio/platform-espressif32.git#feature/stage
board = esp32dev
framework = arduino
https://github.com/adafruit/Adafruit DHT Unified
I must be doing something very obviously wrong but I just do not know what
can anyone help please?
PS the same library and the same board and code works fine on the Arduino IDE but I really would like to continue using your new platformio.