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

Arduino UNO WIFI Rev2 compiling error #115

Open
lpycry opened this issue May 2, 2022 · 0 comments
Open

Arduino UNO WIFI Rev2 compiling error #115

lpycry opened this issue May 2, 2022 · 0 comments

Comments

@lpycry
Copy link

lpycry commented May 2, 2022

Hello,
I'm trying to use Arduino UNO WIFI Rev 2 to control my Samsung Air conditioner, but I got compiling error.

In file included from C:\Users\Administrator\Documents\Arduino\libraries\IRremote-3.6.1\src/IRremote.hpp:263:0,

             from C:\Users\Administrator\Documents\Arduino\SendRawSamsungNewVersion\SendRawSamsungNewVersion.ino:3:

C:\Users\Administrator\Documents\Arduino\libraries\IRremote-3.6.1\src/IRremoteInt.h:38:16: error: expected identifier before numeric constant

#define MARK 1

            ^

C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibDecodeBase.h:37:17: note: in expansion of macro 'MARK'

enum RCLevel {MARK, SPACE, ERROR};//used by decoders for RC5/RC6

             ^~~~

C:\Users\Administrator\Documents\Arduino\libraries\IRremote-3.6.1\src/IRremoteInt.h:38:16: error: expected '}' before numeric constant

#define MARK 1

            ^

C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibDecodeBase.h:37:17: note: in expansion of macro 'MARK'

enum RCLevel {MARK, SPACE, ERROR};//used by decoders for RC5/RC6

             ^~~~

C:\Users\Administrator\Documents\Arduino\libraries\IRremote-3.6.1\src/IRremoteInt.h:38:16: error: expected unqualified-id before numeric constant

#define MARK 1

            ^

C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibDecodeBase.h:37:17: note: in expansion of macro 'MARK'

enum RCLevel {MARK, SPACE, ERROR};//used by decoders for RC5/RC6

             ^~~~

In file included from C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibAll.h:22:0,

             from C:\Users\Administrator\Documents\Arduino\SendRawSamsungNewVersion\SendRawSamsungNewVersion.ino:66:

C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibDecodeBase.h:38:3: error: 'RCLevel' does not name a type

RCLevel getRClevel(uint8_t *used, const uint16_t t1);

^~~~~~~

C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibDecodeBase.h:39:1: error: expected unqualified-id before 'protected'

protected:

^~~~~~~~~

C:\Users\Administrator\Documents\Arduino\libraries\IRLib2/IRLibDecodeBase.h:43:1: error: expected declaration before '}' token

};

^

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