I am currently using an Arduino Mega with two stacked adafruit motor shield v2.3's and want to create a VI to interface with it to run stepper motors. The few example VI's that I have found are still using LIFA_base which the V2.3 motorshields aren't compatible with. I have moved to trying LINX but I am not familiar on how to interface with motorshield. Has anyone successfully created a VI to control steppers through LINX?
Edit read your full post and I did not answer your question. I only used the LIFA_base when I was working with Arduino a few years ago.
Thanks for the link! Once downloaded it runs without error, but I am getting no motion out of the stepper. I have concluded at this point that since I am using a Mega 3560 instead of an UNO that it is not writing to the proper pin? What are your thoughts on this, if you agree do you know where I should be looking to change which pin the commands are being written to?
If you suspect a pin topology problem I would take a step back from using LabVIEW. Using a single shield I would follow adafruits' directions and just make sure that the stepper test works.
This motor shield from adafruit communicates on the i2c bus.
According to Arduino reference page on Wire (i2c) https://www.arduino.cc/en/Reference/Wire
The UNO and MEGA do not share the same location for their i2c pins.
Additionally, I have found an article on adafruit's website that goes into board compatibility.
In summary, the Mega 2560 R3 should work without any modifications.
However, A Mega 2560 R2 would require you to put a jumper between A4 and 20, A5 and 21.