IR receiver error (TKD2)

Hi I’m a fairly beginner programmer and I’m trying to receive Hexadecimal code from a standard TV remote and then in future use this to program a robot of some kind. Unfortunately I keep getting a compiling error. I Have tried several online solutions including re downloading the library but I’ve had no luck. Any help would be appreciated. I’m working on the UNO board.

#include <IRremote.h>
int receiverpin = 11;
IRrecv irrecv(receiverpin);
decode_results results;void setup() {
}void loop() {
if (irrecv.decode(&results))
Serial.print(results.value, HEX);
Serial.print(" ");

My error comes out as
"Arduino: 1.8.0 (Windows 7), Board: “Arduino/Genuino Uno”

C:\Users\Luke\Documents\arduino-1.8.0\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: ‘TKD2’ was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to


Using library RobotIRremote at version 1.0.2 in folder: C:\Users\Luke\Documents\arduino-1.8.0\libraries\RobotIRremote
exit status 1
Error compiling for board Arduino/Genuino Uno."

Any help would be appreciated Thanks


Given that a go but still no success any other ideas?