Arduino: 1.8.2 (Mac OS X), Board: “Arduino/Genuino Uno”

/Users/Guest/Downloads/ 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.

This is the error I keep getting… help

AUTO_GO_.ino (1.53 KB)

Are you sure you attached the right sketch there?

This one doesn't use the library that's giving the error you quoted.

Are you using an Arduino robot? If not, follow the path in the error and delete or move the RobotiRemote library. My understanding is that the robot library conflicts with the real IRRemote library.