the code is attached
IRrecord1.ino (2.2 KB)
the code is attached
IRrecord1.ino (2.2 KB)
please copy the error message as well, that typically tells you what the problem is.
You are using a non-standard library, so you should provide details as to where the library is downloaded from. Also, please read the two posts by Nick Gammon at the top of this Forum on guidelines for using the Forum.
Arduino: 1.6.4 (Windows 7), Board: "Arduino Uno"
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.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
This is a standard library comes with the newest version of the IDE. Not sure why its not compiling the only thing is an internal issue with the library, I am not that great at pulling apart the cpp files and debugging them so hopefully an expert can help you out.
Removing the files - libraries\RobotIRremote\IRremoteTools.cpp and libraries\RobotIRremote\IRremoteTools.h solved the problem. They are example files which somehow are getting included. You can move those two files to some other location as backup.
copy pasta
it worked thanks you very much Qdeathstar.