本文介绍了Arduino 错误:TKD2 未在此范围内声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是 arduino 的初学者,这是我的第一个 IR 项目,但我在编译时遇到了问题......
i am a beginner in arduino and that's my first IR project and yet i have a problem with compiling ...
Arduino 错误:TKD2 未在此范围内声明
Arduino error : TKD2 was not declared in this scope
关于我使用的代码是示例 IRrecvDemo .
About the code i used is the example IRrecvDemo .
推荐答案
我刚买了一个 arduino 初学者包 (sun Founder),我遇到了同样的问题.我所做的是:
I've just bought an arduino beginner pack (sunfounder) and I had the same issue.What I did is:
- 删除库 IrRemote: (C:\Program Files\Arduino\libraries\RobotIRremote)
- 下载一个好的.可以在 https://codeload.github.com/z3t0/Arduino-IRremote 找到/zip/master
- 使用 Arduino 程序的菜单安装它:程序 -> 包含库 -> 添加 .ZIP 库
这篇关于Arduino 错误:TKD2 未在此范围内声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!