#include <math.h>
#include "WConstants.h"
#include <Wire.h>
#include "APM_Compass.h"
Go to the source code of this file.
Defines | |
#define | CompassAddress 0x1E |
#define | ConfigRegA 0x00 |
#define | ConfigRegB 0x01 |
#define | MagGain 0x20 |
#define | PositiveBiasConfig 0x11 |
#define | NegativeBiasConfig 0x12 |
#define | NormalOperation 0x10 |
#define | ModeRegister 0x02 |
#define | ContinuousConversion 0x00 |
#define | SingleConversion 0x01 |
#define CompassAddress 0x1E |
Definition at line 45 of file APM_Compass.cpp.
#define ConfigRegA 0x00 |
Definition at line 46 of file APM_Compass.cpp.
#define ConfigRegB 0x01 |
Definition at line 47 of file APM_Compass.cpp.
#define ContinuousConversion 0x00 |
Definition at line 53 of file APM_Compass.cpp.
#define MagGain 0x20 |
Definition at line 48 of file APM_Compass.cpp.
#define ModeRegister 0x02 |
Definition at line 52 of file APM_Compass.cpp.
#define NegativeBiasConfig 0x12 |
Definition at line 50 of file APM_Compass.cpp.
#define NormalOperation 0x10 |
Definition at line 51 of file APM_Compass.cpp.
#define PositiveBiasConfig 0x11 |
Definition at line 49 of file APM_Compass.cpp.
#define SingleConversion 0x01 |
Definition at line 54 of file APM_Compass.cpp.