|
楼主 |
发表于 2021-10-30 14:10
|
显示全部楼层
Arduino:1.8.16 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
DHT_WiFi:20:1: error: 'DHT' does not name a type
D:\桌面\DIY\Arduino\温湿度\DHT_WiFi\DHT_WiFi.ino: In function 'void setup()':
DHT_WiFi:53:5: error: 'dht' was not declared in this scope
D:\桌面\DIY\Arduino\温湿度\DHT_WiFi\DHT_WiFi.ino: In function 'void loop()':
DHT_WiFi:64:19: error: 'dht' was not declared in this scope
exit status 1
'DHT' does not name a type
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|