01-14-2016 07:32 PM
while compiling the file:
C:\Program Files\National Instruments\LabVIEW 201x\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base
sostware used:
Arduino: 1.5.8 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
compilation error:
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.
Solved! Go to Solution.
01-14-2016 08:02 PM
This happens because LIFA is very old and no longer supported. If possible, you should upgrade to LINX.
01-14-2016 08:33 PM
Here you have the solution to your problem.
https://decibel.ni.com/content/message/125048#125048
If you solve the issue, please check the reply like a right answer.
Regards
01-16-2016 12:00 AM
then we have to always use LINX instead of ARDUINO while making project ??
i did it like this----
but now will i use NINX for initialization, input/output etc. ??
01-16-2016 12:08 AM
LINX is a complete replacement for LIFA. Check it out, look at the examples, etc. You will see.
01-16-2016 12:28 AM
yes,by doing that it worked
but don't you think that removing those files will not affect my other arduino programs??
plz help in this regard....