Justinli
Member level 4
When I used the display and temperature sensor for the weather station project, I called the "dht11" library while writing the code, and then I got this error, I used the DHT11 temperature sensor.
Code:
Arduino:1.8.13 (Windows 7), Development Boards:"Arduino Uno"
C:\AppData\Local\Temp\ccRJNuOI.ltrans0.ltrans.o: In function `loop':
E:\weather1/weather1.ino:36: undefined reference to `dht::read(int)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error while compiling for development board Arduino Uno.