LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

compilation error while uploading LIFA_Base to arduino board

Solved!
Go to solution

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.

0 Kudos
Message 1 of 6
(5,829 Views)
Solution
Accepted by topic author skmr168

This happens because LIFA is very old and no longer supported.  If possible, you should upgrade to LINX.

0 Kudos
Message 2 of 6
(5,120 Views)

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

Message 3 of 6
(5,120 Views)

then we have to always use LINX instead of ARDUINO while making project ??

i did it like this----

1st.PNG

but now will i use NINX for initialization, input/output etc. ??

0 Kudos
Message 4 of 6
(5,120 Views)

LINX is a complete replacement for LIFA.  Check it out, look at the examples, etc.  You will see.

0 Kudos
Message 5 of 6
(5,120 Views)

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....

0 Kudos
Message 6 of 6
(5,120 Views)