HMC5883L  0.2
Library for I2C communication with HMC5883L over Arduino
 All Classes Files Functions Variables Modules
Saturation warning codes

Flags raised when various channels are read as saturated. More...

Macros

#define WC_X_SATURATED   1
 
#define WC_Y_SATURATED   2
 
#define WC_Z_SATURATED   4
 

Detailed Description

Flags raised when various channels are read as saturated.

These flags are the first 3 bits of a byte, so if X and Y are saturated but not Z, the code will be WC_X_SATURATED | WC_Y_SATURATED, etc.

Macro Definition Documentation

#define WC_X_SATURATED   1

Warning: X channel is saturated.

#define WC_Y_SATURATED   2

Warning: Y channel is saturated.

#define WC_Z_SATURATED   4

Warning: Z channel is saturated.