|
烧录AT_Firmware_WiFi时出现下列错误,请问是什么原因呢?
错误信息如下:
Arduino:1.8.13 (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"
In file included from C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11:0,
from C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:116,
from C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:48:
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::parseATdata()':
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:13959:68: error: no matching function for call to 'BlinkerApi::weather(String)'
reqData += STRING_format(weather(_slaverAT->getParam(0)));
^
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:13959:68: note: candidate is:
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6288:12: note: String BlinkerApi::weather(uint32_t)
String BlinkerApi::weather(uint32_t _city)
^
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6288:12: note: no known conversion for argument 1 from 'String' to 'uint32_t {aka unsigned int}'
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:13970:64: error: no matching function for call to 'BlinkerApi::aqi(String)'
reqData += STRING_format(aqi(_slaverAT->getParam(0)));
^
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:13970:64: note: candidate is:
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6387:12: note: String BlinkerApi::aqi(uint32_t)
String BlinkerApi::aqi(uint32_t _city)
^
C:\Users\80533\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6387:12: note: no known conversion for argument 1 from 'String' to 'uint32_t {aka unsigned int}'
exit status 1
为开发板 Generic ESP8266 Module 编译时出错。
|
|