查看: 171|回复: 1

上传程序出错 求大神看看

[复制链接]
  • TA的每日心情
    难过
    2020-3-17 20:20
  • 签到天数: 1 天

    [LV.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
  • TA的每日心情
    难过
    2020-3-17 20:20
  • 签到天数: 1 天

    [LV.1]初来乍到

     楼主| 发表于 2020-7-5 19:37 | 显示全部楼层
    已解决  哈好啊
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    热门推荐

    5分钟带你快速了解新一代开发板:M5STACK
    5分钟带你快速了解新一代
    一、什么是M5Stack M5Stack是一种模块化、可堆叠扩展的开发板,每个模块
    创客火首发无人机编队套装,开启不一样的人工智能教育
    创客火首发无人机编队套装
    2017年国务院发布《新一代人工智能发展规划》,提出要广泛开展人工智能科普活动,在中
    胸卡式儿童红花榜(blinker+三色墨水屏)
    胸卡式儿童红花榜(blinke
    【项目名称】胸卡式儿童红花榜【项目简介】 小朋友有很强的自尊心和荣誉感,也有自
    ADAFRUIT_GFX库 tft屏真彩图怎么取模
    ADAFRUIT_GFX库 tft屏真彩
    请问这种16位的是用什么软件取的,网上找了好久取模软件,取的都是8位的
    温度传感器实验求代码
    温度传感器实验求代码
    求详细代码,急!
    Copyright   ©2015-2016  Arduino中文社区  Powered by©Discuz!   
    快速回复 返回顶部 返回列表