上传程序出错 求大神看看-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1730|回复: 1

上传程序出错 求大神看看

[复制链接]
发表于 2020-7-5 17:11 | 显示全部楼层 |阅读模式
Arduino:1.8.12 (Windows 7), 开发板:"Arduino Uno"

In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:83:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerSerialESPMQTT.h:5,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:46,

                 from C:\Users\Administrator\Desktop\新建文件夹\DHT11-温度-带文字\DHT11-tianmao\blinker_tianmao-baogaichejian\blinker_tianmao-baogaichejian.ino:4:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:234: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\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerSerialESPMQTT.h:5:0,

                 from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:46,

                 from C:\Users\Administrator\Desktop\新建文件夹\DHT11-温度-带文字\DHT11-tianmao\blinker_tianmao-baogaichejian\blinker_tianmao-baogaichejian.ino:4:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope:

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:782: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\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7188:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^~

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_joy(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7195:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

         else return "";

                     ^~

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7202:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^~

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7208:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^~

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)':

C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7214:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

     else return "";

                 ^~

C:\Users\Administrator\Desktop\新建文件夹\DHT11-温度-带文字\DHT11-tianmao\blinker_tianmao-baogaichejian\blinker_tianmao-baogaichejian.ino: At global scope:

C:\Users\Administrator\Desktop\新建文件夹\DHT11-温度-带文字\DHT11-tianmao\blinker_tianmao-baogaichejian\blinker_tianmao-baogaichejian.ino:11:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

C:\Users\Administrator\Desktop\新建文件夹\DHT11-温度-带文字\DHT11-tianmao\blinker_tianmao-baogaichejian\blinker_tianmao-baogaichejian.ino:12:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

项目使用了 30096 字节,占用了 (93%) 程序存储空间。最大为 32256 字节。
全局变量使用了1154字节,(56%)的动态内存,余留894字节局部变量。最大为2048字节。
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf6
上传出错。查看http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。



更新lie 后开发板变了
43c39066894138d72d84812bc571a4c.jpg

这里选择哪个 更新后没有ESP

这里选择哪个   更新后没有ESP
 楼主| 发表于 2020-7-5 19:37 | 显示全部楼层
已解决  哈好啊
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 08:43 , Processed in 0.113777 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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