05-25-2014 04:13 PM
Hello,
i want to upload some lifa base to my arduino uno ( i want to use HC-SR04 sensor)
the problem that i can't make it.
i get the following compile errors for both versions ( same lifa file different errors)
The only time i succeed to upload lifa base to arduino ,
is by using a hex file ( xloader) (from this thread : https://decibel.ni.com/content/thread/18700 )
Could some one Please help me
or tell me how to make a hex file like on that thread
Thank you in advance
05-25-2014 11:12 PM
Hi can you check the board type and serial port selected
05-26-2014 03:20 AM
board type: arduino uno,
post is COM32 ( this is where my arduino )
05-26-2014 03:45 AM
The error message i get now is :
Arduino : 1.5.6-r2 (Windows 7), Carte : "Arduino Uno"
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5: error: 'TKD2' was not declared in this scope
05-26-2014 06:16 AM
first of all i have few questions
1) how sure are you that it is uno , it may be duemilonova also ( just a basic quesition ) .
2) kindly dump basic led prog, which is out in examples ( only to know your bootloader of arduino is fine ) .
3) if the above is fine , we shall check for lifa
05-26-2014 01:38 PM
Hi Thank you for your respond,
1) i don't know, but it writing arduino uno od circuit,
2) i already tried some example last week, ( rgb led with labview, tune examples ... )
( the lifa i have know in my arduino is the hex file that provided on that thread)
Can you tell me if this informations i gave you fine ?
Thank you very much
05-27-2014 04:01 AM
1) it's important to know your board, without knowing the board type you cannot dump the code .
2) do you have arduino ide , i was talking about dumping the code from arduino not from labview . you can dump any piece of code
05-27-2014 08:10 AM
Hi,
1) it's arduino Uno ( typed on circuit )
2) i dump using ardiuno 1.5.6 blink example.
(Turns on an LED on for one second, then off for one second, repeatedly.)
and it works.
what should i do now ?
Thank you for your respond.
05-27-2014 12:10 PM
I highly recommend that you upgrade to LINX (LIFA is no longer officially supported) because it has native support for this sensor.
05-27-2014 12:34 PM
Hi Nathan,
Thank you for your respond,
i have linx installed,
but i can't upload linx firmware too, here is error:
Arduino : 1.5.6-r2 (Windows 7), Carte : "Arduino Uno"
LINX_Arduino_Base_Firmware.cpp.o: In function `loop':
C:\Program Files (x86)\Arduino/LINX_Arduino_Base_Firmware.ino:45: undefined reference to `checkForLINXSerialPacket()'
LINX_Arduino_Base_Firmware.cpp.o: In function `setup':
C:\Program Files (x86)\Arduino/LINX_Arduino_Base_Firmware.ino:35: undefined reference to `setupLINX()'
all i want to do with arduino , is read some analog inputs and make num output,,
( how should program it on labview using lifa ? )