I’m a mentor in software in a rookie team and we’re trying to get the ADXL345 accelerometer sensor to work with no luck. It’s kind of frustrating since we have 4 days in this with no luck.
Do somebody know a tutorial that actually explains how to get this sensor to work step by step? because the example code that is in the NI page we are not understanding what they do and how to use that info to actually make it work in our program.
Please note that we’re using LabView 2012, and that we’re a rookie team and this is the first year we’re competing.
The ADXL345 I2C Accelerometer example shows how to connect to and read from the device. Once you have it working, you can copy the Open into Begin.vi, copy the Close into Finish.vi, and copy the Read wherever you want to use it. Find the I2C RefNum get and set functions in the WPI Library -> Communications -> I2C function palette.