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

error compile IRcontrol #33

Closed
Xav83130 opened this issue Aug 10, 2017 · 2 comments
Closed

error compile IRcontrol #33

Xav83130 opened this issue Aug 10, 2017 · 2 comments

Comments

@Xav83130
Copy link

Xav83130 commented Aug 10, 2017

Hello,
I have error when i compile on ESP8266 NodeMCU 1.0
If you have an idea of the problem I am taker ; )

sp8266-fastled-webserver:43: error: 'IRrecv' does not name a type
IRrecv irReceiver(RECV_PIN);
^
In file included from /Users/xaviergesset/Desktop/DESIGNtree - Project/Arduino/esp8266-fastled-webserver-1.1/esp8266-fastled-webserver/esp8266-fastled-webserver.ino:45:0:
sketch/Commands.h: In function 'long unsigned int decodeIRCode()':
Commands.h:179: error: 'decode_results' was not declared in this scope
decode_results results;
^
Commands.h:179: error: expected ';' before 'results'
decode_results results;
^
Commands.h:181: error: 'results' was not declared in this scope
results.value = 0;
^
Commands.h:184: error: 'irReceiver' was not declared in this scope
if (irReceiver.decode(&results)) {
^
/Users/------------/Desktop/---------- - Project/Arduino/esp8266-fastled-webserver-1.1/esp8266-fastled-webserver/esp8266-fastled-webserver.ino: In function 'void setup()':
esp8266-fastled-webserver:231: error: 'irReceiver' was not declared in this scope
irReceiver.enableIRIn(); // Start the receiver
^
exit status 1
'IRrecv' does not name a type

Other little question,
Is it possible not to use IRcontrol?

thank you in advance
And thanks for sharing

@MJP-76
Copy link

MJP-76 commented Aug 10, 2017

I resolved this by following the correct library upload instruction here: https://github.com/sebastienwarin/IRremoteESP8266

@Xav83130
Copy link
Author

Thanks it's good

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

2 participants