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?