Attempting to use my new Wio Lite Risc-V board attached to a DHT-22 temperature/humidity sensor. After importing the library to the blink project (without any code added to the blink application except #include “DHT.h”) the project will not compile and has a red
collect2.exe: error: ld returned 1 exit status *** [.pio\build\wio_lite_risc-v\firmware.elf] Error 1 error with a yellow
main.cpp:(.text.setup+0x14): undefined reference to digitalRead’` above it.
I am using “DHT by Mark Ruys” specifically.
platform = gd32v
board = gd32vf103v-eval
framework = arduino
upload_protocol = dfu
monitor_speed = 115200
How do I get the digitalRead() function to work with this?