乐联网反向控制报错,求赐教-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 4384|回复: 0

[过期] 乐联网反向控制报错,求赐教

[复制链接]
发表于 2013-10-19 21:22 | 显示全部楼层 |阅读模式
本帖最后由 honyfox 于 2013-10-19 21:24 编辑

按乐联网教程代码学习,编译LeweiTcpClient的时候,原文件报错如下,求分析,谢谢!
http://www.lewei50.com/dev/doc/142

Arduino: 1.5.4 (Windows 7), Board: "Arduino Uno"
LeweiTcpClient.ino: In function 'void setup()':
LeweiTcpClient:39: error: call of overloaded 'UserFunction(void (&)(char*, char*, char*), const char [14])' is ambiguous
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:36: note: candidates are: UserFunction::UserFunction(void (*)(char*, char*), const char*) <near match>
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:35: note:                 UserFunction::UserFunction(void (*)(char*), const char*) <near match>
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:34: note:                 UserFunction::UserFunction(void (*)(), const char*) <near match>
LeweiTcpClient:41: error: call of overloaded 'UserFunction(void (&)(char*, char*, char*, char*), const char [14])' is ambiguous
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:36: note: candidates are: UserFunction::UserFunction(void (*)(char*, char*), const char*) <near match>
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:35: note:                 UserFunction::UserFunction(void (*)(char*), const char*) <near match>
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:34: note:                 UserFunction::UserFunction(void (*)(), const char*) <near match>
LeweiTcpClient:43: error: call of overloaded 'UserFunction(void (&)(char*, char*, char*, char*, char*), const char [14])' is ambiguous
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:36: note: candidates are: UserFunction::UserFunction(void (*)(char*, char*), const char*) <near match>
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:35: note:                 UserFunction::UserFunction(void (*)(char*), const char*) <near match>
D:\Program Files\Arduino-1.1.5.4-r2\libraries\LeweiTcpClientLite/LeweiTcpClient.h:34: note:                 UserFunction::UserFunction(void (*)(), const char*) <near match>
LeweiTcpClient:51: error: 'UserSwitch' was not declared in this scope
LeweiTcpClient:51: error: expected `;' before 'us1'
LeweiTcpClient:52: error: 'class LeweiTcpClient' has no member named 'addUserSwitch'
LeweiTcpClient:52: error: 'us1' was not declared in this scope
  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.


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

本版积分规则

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

GMT+8, 2024-12-4 16:04 , Processed in 0.068608 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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