‎07-14-2013 10:43 AM
hello,
I want to ask if someone has the LIFA_Base for the Arduino MEGA 2560, in which I can control all I/O because now I can only control the I/O that are common between the MEGA and the UNO.
Thanks
‎07-14-2013 01:06 PM
All I/O are accessible on both Uno and Mega with the default LIFA. Simply wire a U8 integer to the pin input on the VIs.
‎07-14-2013 01:10 PM
but in the LabVIEWInterface.ino there is only
int pin0 = analogRead(0);
int pin1 = analogRead(1);
int pin2 = analogRead(2);
int pin3 = analogRead(3);
int pin4 = analogRead(4);
int pin5 = analogRead(5);
‎07-15-2013 10:27 AM
So you are specifically asking about Analog Read Port.vi? Like I said above, all pins are accessible by LabVIEW however both Analog Read Port.vi and Digital Read Port.vi are both for the Uno. This means that it requires customization to get these two VIs to read/write all the pins. I have already created a modification (new LIFA function) for the Digital Read Port for the Mega here. This can be done similarly for the Digital write and analog read port functions.
‎07-15-2013 01:22 PM
ok, thanks a lot for you help
‎02-19-2015 06:55 PM
hii
it don't work with me
‎02-19-2015 07:49 PM
LIFA is no longer supported. You should use LINX.