This widget could not be displayed.
This widget could not be displayed.

LabVIEW Interface for Arduino Documents

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

LIFA LSM303DLM Accelerometer + Magnetometer

LIFA LSM303DLM Accelerometer + Magnetometer

Here is a small library for the LSM303DLM which contains both an accelerometer and a magnetometer.  This was tested using a MinIMU-9 v1.

The example VI "Graph Data.vi" gets both sensors' axis readings and plots them on a waveform chart.

Any feedback is appreciated.

Comments
TreyONan
Member
Member

Hi,

I tried the code using a MinIMU-9 v2 with LSM303DLHC accelerometer with no luck.  I keep getting the following error #5003:  "LabVIEW Interface for Arduino.lvlib:I2C Write.viLabVIEW Interface for Arduino.lvlib:I2C Read.vi.  A timeout occurred while trying to read form the Arduino" 

Any thoughts?

Contributors