Hello, I am trying to use an ir sensor. I have a sketch I found online that should give me the hexidecimal code of each button on my remote, but I keep getting an error and I have zero clue how to fix it.
Here is the error:
C:\Users\cbogg\Documents\Arduino\libraries\Robot_IR_Remote\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.
The sketch should be attached.
If you could provide any help that would be amazing!
ir-code-logger.ino (831 Bytes)