Arduino:1.8.12 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
"DHT.h" 对应多个库
In file included from C:\Users\123\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:15:0:
已使用: C:\Users\123\Documents\Arduino\libraries\DHT_sensor_library
C:\Users\123\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:36:29: fatal error: Adafruit_Sensor.h: No such file or directory
#include <Adafruit_Sensor.h>
^
compilation terminated.
未使用:C:\Users\123\Documents\Arduino\libraries\Grove_Temperature_And_Humidity_Sensor
未使用:D:\arduino\libraries\DHT-sensor-library-master
exit status 1
为开发板 NodeMCU 1.0 (ESP-12E Module) 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|