#include <IRremote.h>
#include <IRremoteInt.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
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
^
Error compiling.
reinstalled, renamed library ir remote, back dated arduino 1.6.3 to 1.6.2 still
no joy can sum1 plz elp.
Hello - trying to figure out why my sketches won't upload. Got the error message below, when I tried to upload.
Is the " int RECV_PIN = TKD2; // the pin the IR receiver is connected to" a problem with the hardware?
Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Uno"
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\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.
The typical solution is linked above. Did you try everything mentioned in the linked post?
Note: Might be a good idea to restart the IDE everytime you make a change to a library or remove one.
Were you using the latest version of IRremote? version?
#include <IRremoteInt.h>
the line above is not required