Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArduMideaWrapper and ESP8266 #7

Open
yuyubades opened this issue Nov 29, 2018 · 0 comments
Open

ArduMideaWrapper and ESP8266 #7

yuyubades opened this issue Nov 29, 2018 · 0 comments

Comments

@yuyubades
Copy link

yuyubades commented Nov 29, 2018

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

@yuyubades yuyubades changed the title Use in ESP8266 ArduMideaWrapper and ESP8266 Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant