查看: 936|回复: 0

求指教:温度监测代码问题

[复制链接]

1

主题

0

好友

14

积分

新手上路

Rank: 1

发表于 2017-7-11 20:08:10 |显示全部楼层
Arduino:1.6.8 (Windows XP), 开发板:"Arduino/Genuino Uno"
D:\Documents and Settings\Administrator\妗岄潰\temperature_sensor\temperature_sensor.ino:17:22: warning: overflow in implicit constant conversion [-Woverflow]
D:\Documents and Settings\Administrator\妗岄潰\temperature_sensor\temperature_sensor.ino:18:30: warning: overflow in implicit constant conversion [-Woverflow]
D:\Program Files\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp: In static member function 'static uint8_t WiFiDrv::getEncTypeNetowrks(uint8_t)':
D:\Program Files\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp:451:10: warning: converting to non-pointer type 'uint8_t {aka unsigned char}' from NULL [-Wconversion-null]
   return NULL;
          ^
D:\Program Files\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp: In static member function 'static int32_t WiFiDrv::getRSSINetoworks(uint8_t)':
D:\Program Files\Arduino\libraries\WiFi\src\utility\wifi_drv.cpp:476:10: warning: converting to non-pointer type 'int32_t {aka long int}' from NULL [-Wconversion-null]
   return NULL;
          ^
项目使用了 24,788 字节,占用了 (76%) 程序存储空间。最大为 32,256 字节。
全局变量使用了926字节,(45%)的动态内存,余留1,122字节局部变量。最大为2,048字节。
avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0x91
avrdude: stk500_cmd(): programmer is out of sync
上传出错。查看页面 http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

Archiver|手机版|Yeelink.net

Powered by Discuz! X2.5

回顶部