Smart Robot Car Kit V1.0

I have bought a smart robot as a Christmas present and I'm in the process of setting it all up. Everything was going fine until I just tried to connect the infra red controller and now I keep getting the following error message:

Arduino: 1.8.0 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\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 ^

exit status 1

Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Anybody any ideas?


Anybody any ideas?

Gee, no. Only something like 52525515821 people have encountered that particular error message. I'm sure that none of them have written about it.

Thanks for the reply but I have no experience with this type of programming and I'm just following the instructions included with the car, so I'm stuck as what to do next?

so I'm stuck as what to do next?

Google the error message. There are two possible solutions - one "correct" and one a simple workaround.