老中医 发表于 2017-1-18 16:59:14

求助求助!

C:\Program Files\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to显示为开发板编译出错,什么意思?

O_oYYQ 发表于 2017-1-18 17:57:01

将arduino-xxx-windows\arduino-xxx\libraries文件夹下的RobotIRemote文件夹删除后重启IDE就可以了,主要原因是这个文件夹中也有IRremoteTools.cpp,导到两者发生冲突。
页: [1]
查看完整版本: 求助求助!