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

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 496|回复: 1

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

[复制链接]
发表于 2022-5-1 10:28 | 显示全部楼层 |阅读模式

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 | 显示全部楼层
您这啥问题都没有,已经编译成功了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 09:41 , Processed in 0.094111 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表