You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me it worked perfectly.
In the file \Arduino\libraries\ArduMideaWrapper-master\library.properties
edit line architectures=avr to architectures=esp8266
In the file \Arduino\libraries\ArduMideaWrapper-master\src\MideaIR.h & MideaIR.cpp
edit line #include <IRremote.h> to #include <IRremoteESP8266.h> & add #include <IRsend.h>
Finally on sketch
#include <IRremoteESP8266.h>
#include <IRsend.h>
#include <MideaIR.h>
For me it worked perfectly.
In the file \Arduino\libraries\ArduMideaWrapper-master\library.properties
edit line architectures=avr to architectures=esp8266
In the file \Arduino\libraries\ArduMideaWrapper-master\src\MideaIR.h & MideaIR.cpp
edit line #include <IRremote.h> to #include <IRremoteESP8266.h> & add #include <IRsend.h>
Finally on sketch
#include <IRremoteESP8266.h>
#include <IRsend.h>
#include <MideaIR.h>
#define IR_EMITER 5
IRsend irsend(IR_EMITER);
MideaIR remote_control(&irsend);
Thanks to the developers for this great tool, I hope you can improve the library for use with the esp8266
The text was updated successfully, but these errors were encountered: