Hi !
I have a problem that blocks the rest of my program.
I want to receive infrared frequencies, but this message appears;
"int RECV_PIN = TKD2;
^
exit status 1
'TKD2' was not declared in this scope "
What to do ?
In addition, there is a IRRemote LIBRARY Arduino in the list, but it takes another?
I have one but do not load, you have a link?
My code;
#include "IRremoteInt.h"
#include "IRremoteTools.h"
#include <IRremote.h>
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Initialise le recepteur
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Recoit la valeur suivante
}
}