有大神可以帮我看一下这个blinker是出什么问题了吗,这边y-Arduino中文社区 - Powered by Discuz! Archiver

123ppp 发表于 2022-5-1 10:28

有大神可以帮我看一下这个blinker是出什么问题了吗,这边y


In file included from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:96:0,
               from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/BlinkerSerialESPMQTT.h:5,
               from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:54,
               from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino:48:
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:257:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         char* dataParse()       { if (canParse) return conn->lastRead(); else return ""; }
                                                                                    ^~
In file included from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/BlinkerSerialESPMQTT.h:5:0,
               from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:54,
               from C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino:48:
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope:
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:913:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH);
                                                                                                 ^
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8467:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   else return "";
               ^~
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_joy(uint8_t)':
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8474:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         else return "";
                     ^~
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8481:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   else return "";
               ^~
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8487:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   else return "";
               ^~
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)':
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8493:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   else return "";
               ^~
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino: At global scope:
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino:55:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
BlinkerButton Button1("btn-abc");
                              ^
C:\Users\86191\Documents\Arduino\libraries\blinker-library-master\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino:56:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
BlinkerNumber Number1("num-abc");
                              ^
项目使用了 23770 字节,占用了 (73%) 程序存储空间。最大为 32256 字节。
全局变量使用了933字节,(45%)的动态内存,余留1115字节局部变量。最大为2048字节。




点灯官方 发表于 2022-5-1 16:47

您这啥问题都没有,已经编译成功了
页: [1]
查看完整版本: 有大神可以帮我看一下这个blinker是出什么问题了吗,这边y