I have a problem in IRremote, this problem is (exit status 1
Error compiling for board Arduino / Genuino Uno.)
#include <IRremote.h>
const int RECV_PIN = 2;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup(){
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop(){
if (irrecv.decode(&results)){
Serial.println(results.value,HEX);
irrecv.resume();
}
}
this problem is
exit status 1
Error compiling for board Arduino/Genuino Uno.
system
2
And what else?
(Let me paraphrase: "My car didn't start this morning. It is a white car")
It compiles without error for me. Did you forget to install the IRremote library?
#include <IRremote.h>
const int RECV_PIN = 2;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop()
{
if (irrecv.decode(&results))
{
Serial.println(results.value, HEX);
irrecv.resume();
}
}
maybe I forgot something in Library ???????????I have downloaded IRremote
system
5
Maybe you forgot to post the whole error message.
Yes, I think that is most likely.
hello people I have asked a question ? if Arduino needs to connect to computer as I verify the code?????