Hello everybody, so i wrote this code a long time ago but never actualy use it but today decided to finally take the dust out of it an use it, but since this is a new computer I need to install the libraries again I install the same librarie "RobotIRremote-master" and the code just doesn´t want to compile it displays this error.
Arduino: 1.6.2 (Windows 7), Placa:"Arduino Uno"
C:Program Files (x86)ArduinolibrariesRobotIRremote-mastersrcIRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope
int RECV_PIN = TKD2; // the pin the IR receiver is connected to
In the Arduino library in the program libraries is the Error-code coming from a file "IRremoteTools.cpp".
(In my case is that file placed in c:\Program (x86)\Arduiono\libraries\RobotIRremote catalog).
I simply removed the file, then the compiling is working perfect!
NOTE! Take a backup copy of the file and place it somewhere else, where it's not reachable for your IDE program, before deleting! ((c:)