HMC5883L
0.2
Library for I2C communication with HMC5883L over Arduino
|
Error codes and warning codes. More...
Modules | |
Saturation warning codes | |
Flags raised when various channels are read as saturated. | |
Macros | |
#define | EC_BAD_GAIN_LEVEL 8 |
#define | EC_INVALID_NAVG 9 |
#define | EC_INVALID_OUTRATE 10 |
#define | EC_INVALID_MEASUREMENT_MODE 11 |
#define | EC_INVALID_BIAS_MODE 12 |
#define | EC_INVALID_UFLOAT 13 |
Error codes and warning codes.
Error codes can be retrieved from HMC5883L::get_err_code()
.
#define EC_BAD_GAIN_LEVEL 8 |
Gain input value is out of range.
#define EC_INVALID_BIAS_MODE 12 |
Invalid bias mode specified.
#define EC_INVALID_MEASUREMENT_MODE 11 |
Invalid measurement mode specified.
#define EC_INVALID_NAVG 9 |
Number of average is out of range.
#define EC_INVALID_OUTRATE 10 |
Output rate is out of range.
#define EC_INVALID_UFLOAT 13 |
Float specified cannot be negative.