|
出错
出这种报错怎么解决
Arduino:1.8.9 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
D:\程序\_______\_______.ino: In function 'void miotPowerState(const String&)':
_______:30:22: error: 'PW' was not declared in this scope
_______:35:9: error: 'BlinkerAliGenie' was not declared in this scope
_______:41:22: error: 'PW' was not declared in this scope
_______:46:9: error: 'BlinkerAliGenie' was not declared in this scope
D:\程序\_______\_______.ino: In function 'void miotQuery(int32_t)':
_______:22:12: error: 'D5' was not declared in this scope
D:\程序\_______\_______.ino:58:28: note: in expansion of macro 'PM'
_______:59:13: error: 'BlinkerAliGenie' was not declared in this scope
_______:62:13: error: 'BlinkerAliGenie' was not declared in this scope
_______:65:13: error: 'BlinkerAliGenie' was not declared in this scope
D:\程序\_______\_______.ino: In function 'void button1_callback(const String&)':
_______:84:18: error: 'PW' was not declared in this scope
D:\程序\_______\_______.ino: In function 'void heartbeat()':
_______:22:12: error: 'D5' was not declared in this scope
D:\程序\_______\_______.ino:90:20: note: in expansion of macro 'PM'
D:\程序\_______\_______.ino: In function 'void setup()':
_______:22:12: error: 'D5' was not declared in this scope
D:\程序\_______\_______.ino:102:13: note: in expansion of macro 'PM'
_______:108:13: error: 'PW' was not declared in this scope
D:\程序\_______\_______.ino: In function 'void loop()':
_______:22:12: error: 'D5' was not declared in this scope
D:\程序\_______\_______.ino:124:25: note: in expansion of macro 'PM'
exit status 1
'PW' was not declared in this scope
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|