Search Code
About LSM303DLH

First published 06 Apr 2011, with 3 revisions since.
Last update: 12 Apr 2011.
View history

Last change message: Added option to set I2C frequency, disabled IRQ during write/read of mag/acc registers due to apparent conflicts with interrupts during testing

Related to
AVC_20110423
The software I used to run my Sparkfun AVC 2011 entry, a 1:10 scale RC truck called \"Data Bus\". This is the final revision of the code as-run on April ...
tag avc, robomagellan

LSM303DLHTest
LSM303DLH Test Program for get angle.
tag accelerometer, LSM303DLH, magnetometer

» Import this library into a program

LSM303DLH

Published 12 Apr 2011, by   user Michael Shimniok   tag compass, LSM303DLH, magnetometer, sensors

Summary of LSM303DLH

How to get this library

Import this library into a program

Opens the mbed Compiler, and prompts you to choose a program.

When you have imported this library into a program, you can then use the features provided by this library.

Download as .zip

Download this library as a .zip file.

Description

Interface library for STMicro LSM303DLH 3-axis magnetometer w/ 3-axis acceleromter. Computes magnetic heading.

API

LSM303DLH Tilt-compensated compass interface Library for the STMicro LSM303DLH 3-axis magnetometer, 3-axis acceleromter

Code

LSM303DLH.cpp [code]
LSM303DLH.h [code]
vector.cpp [code]
vector.h [code]