LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR DE COMPILACION DE LIFA_BASE

Buen dia, al compilar el LIFA_BASE me arroja este error. No se que puedo hacer.

C:\Program Files\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

0 Kudos
Message 1 of 7
(10,027 Views)

Me marca el mismo error al compilar y no encuentro ayuda en la web, que hacer?

0 Kudos
Message 2 of 7
(4,443 Views)

I searched through all the other posts about this error and it seems that the issue is usually that they are not using the correct version of the Arduino IDE.  The latest version of the Arduino IDE that works with LIFA is 1.0.5.

0 Kudos
Message 3 of 7
(4,443 Views)

Error:

C: \ Program Files \ Arduino \ bibliotecas \ RobotIRremote \ src \ IRremoteTools.cpp: 5: 16: error: 'TKD2' não foi declarado neste escopo

int RECV_PIN = TKD2;

É verdade, estava com esse problema, pois estava usando a Versão 1.6.0, então baixei a versão 1.0.5 e funcionou direitinho.

0 Kudos
Message 4 of 7
(4,443 Views)

Hola,

       Simplemente cree una carpeta llamada Backup_RobotIRremote ( para no borrar la carpeta original ) y movi( cut & paste ) la carpeta RobotIRremote entera a esa nueva, porque no necesito para nada su contenido.

     Puedes simplemente borrarla si no la necesitas.

     Ve a Program Files\Arduino\Libraries y has como prefieras.

          

      Compila sin problema ninguno.

Message 5 of 7
(4,443 Views)

Solution is:

1) Go to computer -> go to (C:) -> program files (x86) -> Arduino -> libraries -> RobotIRremote

2) Move files IRemote.cpp, IRemote.h, IRemoteInt.h, IRemoteTools.cpp and IRemoteTools.h to the desktop or somewhere out of primary Arduino map (you can even delete them but rather not maybe you will need those files)

Note: If Arduino map is not in program files (x86) than it's where you have saved it.

Have fun!

Message 6 of 7
(4,443 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

0 Kudos
Message 7 of 7
(4,443 Views)