ESP8266制作天气时钟,出现这个问题是怎么回事-Arduino中文社区 - Powered by Discuz! Archiver

雪303 发表于 2021-6-21 20:50

ESP8266制作天气时钟,出现这个问题是怎么回事

C:\Users\fan-123\Desktop\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:5683:10: error:   initializing argument 1 of 'void BlinkerApi::aqi(const String&)'

   void BlinkerApi::aqi(const String & _city)

          ^

C:\Users\fan-123\Desktop\temp05\temp05.ino: In function 'void Btn_WIFIEE_callback(const String&)':

temp05:1160:11: error: 'class BlinkerESPMQTT' has no member named 'reset'

   Blinker.reset();

         ^

C:\Users\fan-123\Desktop\temp05\temp05.ino: In function 'void wifirst1()':

temp05:1165:13: error: 'class BlinkerESPMQTT' has no member named 'reset'

   Blinker.reset();

             ^

exit status 1
converting to 'const String' from initializer list would use explicit constructor 'String::String(int, unsigned char)'

coloz 发表于 2021-6-22 00:10

请按照文档安装lib和package
页: [1]
查看完整版本: ESP8266制作天气时钟,出现这个问题是怎么回事