在Arduino IDE中的以下路径 Sketch -> Include Library -> Manage Libraries 搜索框中输入 IRremote ,下载 2.6.0 及以下版本即可运行