Adafruit FXOS8700 Accelerometer Magnetometer Library
Macros
Adafruit_FXOS8700.cpp File Reference
#include "Adafruit_FXOS8700.h"
#include <limits.h>

Macros

#define ACCEL_MG_LSB_2G   (0.000244F)
 
#define ACCEL_MG_LSB_4G   (0.000488F)
 
#define ACCEL_MG_LSB_8G   (0.000976F)
 
#define MAG_UT_LSB   (0.1F)
 

Macro Definition Documentation

◆ ACCEL_MG_LSB_2G

#define ACCEL_MG_LSB_2G   (0.000244F)

Macro for mg per LSB at +/- 2g sensitivity (1 LSB = 0.000244mg)

◆ ACCEL_MG_LSB_4G

#define ACCEL_MG_LSB_4G   (0.000488F)

Macro for mg per LSB at +/- 4g sensitivity (1 LSB = 0.000488mg)

◆ ACCEL_MG_LSB_8G

#define ACCEL_MG_LSB_8G   (0.000976F)

Macro for mg per LSB at +/- 8g sensitivity (1 LSB = 0.000976mg)

◆ MAG_UT_LSB

#define MAG_UT_LSB   (0.1F)

Macro for micro tesla (uT) per LSB (1 LSB = 0.1uT)