Skip to content

ArduMideaWrapper and ESP8266 #7

@yuyubades

Description

@yuyubades

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions