Error message not clear

:confused:

I have a sketch that runs on one computer but on an other with a newer version of the Arduino software I get the following error message:

"C:\Program Files\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."

The sketch includes the following commands for a IR remote

#include <Servo.h>
#include <Wire.h>

#include <IRremote.h>

int IRpin = A1;

but nothing about the pin TKD2 indicated in the error message.
:frowning:

All the examples that come with the Arduino program compile OK

Am I referencing the wrong library?

Any thoughts?

Alas, the Arduino folks are not good on backward compatibility.

It is easy to have several versions of the IDE on a PC - they are just Java programs.

...R