..\Gizwits\gizwits_protocol.c(465): warning: #223-D: function "gizGetTimerCount" declared implicitly gizwitsProtocol.waitAck.sendTime = gizGetTimerCount(); ..\Gizwits\gizwits_protocol.c(639): warning: #177-D: variable "lastReportTime" was declared but never referenced static uint32_t lastReportTime = 0; ..\Gizwits\gizwits_protocol.c(681): warning: #177-D: variable "devStatusTmp" was declared but never referenced devStatus_t devStatusTmp;//涓存椂璁惧鏁版嵁鐐瑰彉閲? ^ ..\Gizwits\gizwits_protocol.c(932): warning: #223-D: function "gizGetTimerCount" declared implicitly if(0 == (gizGetTimerCount() % (600000))) ..\Gizwits\gizwits_protocol.c(1082): warning: #223-D: function "gizGetTimerCount" declared implicitly gizwitsProtocol.waitAck.sendTime = gizGetTimerCount(); ..\Gizwits\gizwits_protocol.c(1158): warning: #223-D: function "gizGetTimerCount" declared implicitly if(SEND_MAX_TIME < (gizGetTimerCount() - gizwitsProtocol.waitAck.sendTime)) ..\Gizwits\gizwits_protocol.c(1223): warning: #1029-D: __packed ignored for non-pointer parameter static int32_t gizProtocolErrorCmd(protocolHead_t *head,errorPacketsType_t errno) ..\Gizwits\gizwits_protocol.c(1260): warning: #177-D: variable "ret" was declared but never referenced int32_t ret = 0; ..\Gizwits\gizwits_protocol.c(1291): warning: #223-D: function "gizGetTimerCount" declared implicitly uint32_t timeDelay = gizGetTimerCount(); ..\Gizwits\gizwits_protocol.c(1700): warning: #223-D: function "gizwitsEventProcess" declared implicitly gizwitsEventProcess(&gizwitsProtocol.issuedProcessEvent, (uint8_t *)&gizwitsProtocol.gizCurrentDataPoint, sizeof(dataPoint_t)); ..\Gizwits\gizwits_protocol.c(1610): warning: #177-D: variable "i" was declared but never referenced uint16_t i = 0; ..\Gizwits\gizwits_protocol.c(39): warning: #177-D: function "rbDelete" was declared but never referenced static void rbDelete(rb_t* rb) ..\Gizwits\gizwits_protocol.c(321): warning: #177-D: function "gizY2X" was declared but never referenced static uint32_t gizY2X(uint32_t ratio, int32_t addition, int32_t preValue) ..\Gizwits\gizwits_protocol.c(340): warning: #177-D: function "gizX2Y" was declared but never referenced static int32_t gizX2Y(uint32_t ratio, int32_t addition, uint32_t preValue) ..\Gizwits\gizwits_protocol.c(359): warning: #177-D: function "gizY2XFloat" was declared but never referenced static uint32_t gizY2XFloat(float ratio, float addition, float preValue) ..\Gizwits\gizwits_protocol.c(378): warning: #177-D: function "gizX2YFloat" was declared but never referenced static float gizX2YFloat(float ratio, float addition, uint32_t preValue) ..\Gizwits\gizwits_protocol.c: 16 warnings, 0 errors 楼主为什么会这样呀!而且会设备配网超时 |
深夜学习了一下,上面有一点没写上,就是在添加LED_ON(LED)。。,那个文件那里要include "hal_led.h",希望以后多出一点这类型的教程,很详细,很受用,... |
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee |
来学习了 |
现在生成的代码和这个都不一样了吧 |
期待楼主更新 |
good program! I hope to learn it! Thanks^^ |
赞赞,谢谢楼主 |
6666666666 |
很详细了,谢谢楼主,我马上就去试试 |
感谢分享 |
感谢楼主分享 |
学习咯,不错 |
楼主你好,我想问下如果我想实现远程控制小灯,比如我在学校控制家里的小灯亮灭。或者说ESP8266连接WiFi,手机不连接相同的WiFi或者不连WiFi,请问这样可以实现对小灯的控制吗? |
非常有帮助,刚开始学习 |
路由器需要接一个设备是吗 |
6666666666666 |
谢谢分享 |
感谢楼主分享,学习学习! |
一直搜索不到设备是怎么回事呀 |
6666666666666 |
非常好的学习资料!谢谢!! |
版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )