7536| 1
|
[已解决] 求Romeo v2红外接收库与范例,谢谢! |
本帖最后由 Youyou 于 2014-4-17 18:58 编辑 你好,请试下附件中的红外库,你应该用的是比较老的,对Leonardo兼容性有些问题。 此库自身的样例用Arduino UNO和Arduino Leonardo编译通过。 -By default in the UNO board, use the Timer 2 and the pin 3 for IR output. -By default in the Leonardo board, use the Timer 4 and the pin 13 for IR output. -If you change the IRremote.h file for use Timer 1 in (__AVR_ATmega32U4__) part the IR output is pin 9. 参考:http://forum.arduino.cc/index.php?topic=122013.0 http://www.righto.com/2009/08/mu ... remote-library.html |
33.43 KB, 下载次数: 1857
© 2013-2025 Comsenz Inc. Powered by Discuz! X3.4 Licensed