My attempt to made a more useful lib. You can get the accelerator and magnetometer.

Fork of LSM303DLH by Michael Shimniok

Embed: (wiki syntax)

« Back to documentation index

OUT_XYZ_t Union Reference

OUT_XYZ_t Union Reference
[RegA]

OUT_XYZ structure. More...

#include <LSM303DLH_RegisterDef.h>

Data Fields

int16_t value
 Value in signed integer.
uint8_t UT_L_A
 Low register.
uint8_t UT_H_A
 High register.

Detailed Description

OUT_XYZ structure.

The value is expressed in 2’s complement

Definition at line 143 of file LSM303DLH_RegisterDef.h.


Field Documentation

uint8_t UT_H_A

High register.

Definition at line 149 of file LSM303DLH_RegisterDef.h.

uint8_t UT_L_A

Low register.

Definition at line 148 of file LSM303DLH_RegisterDef.h.

int16_t value

Value in signed integer.

Definition at line 145 of file LSM303DLH_RegisterDef.h.