2017年6月4日日曜日

ESP8266でIRremoteを使う



The library you are using is not compatible with ESP8266. You can try to use this library instead: https://github.com/markszabo/IRremoteESP8266


ESP8266のWemos D1を使って赤外線リモコンを送受信するため、
Arduino-IRremote
を入れたがコンパイルで、
sketch\IRremote.cpp:24:27: fatal error: avr/interrupt.h: No such file or directory
と出てしまう。

調べてみたところ、以下のライブラリーを使うそうだ。
https://github.com/markszabo/IRremoteESP8266

これでいけた。

0 件のコメント:

コメントを投稿