IR Remote

#include <IRremote.h>
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;

void setup()
{
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
}

void loop()
{
  if (irrecv.decode(&results))
    {
     Serial.println(results.value, HEX);
     irrecv.resume(); // Receive the next value
    }
}

I constantly get this error “error: ‘TKD2’ was not declared in this scope”
I did a research and it seems it is a common problem
I tried a few things but nothing works
Are there any suggestions?

what do you mean by what source? i used the typical Arduino-IRremote-master library

it isnt a robot i am just learning how to use a remote and the kit that i bought provided this code and library

i bougth it from ebay, basically it has number of components and sensors

Thanks a lot :slight_smile: