Rev 243 |
Go to most recent revision |
Blame |
Last modification |
View Log
| RSS feed
#ifndef __NCMAG_H
#define __NCMAG_H
#include "compass.h"
typedef struct
{
s16 XRange;
s16 YRange;
s16 ZRange;
s16 XOffset;
s16 YOffset;
s16 ZOffset;
} __attribute__((packed)) NCMAG_Calibration_t;
extern NCMAG_Calibration_t NCMAG_Calibration;
extern s16vec_t ACC_Vector;
u8 NCMAG_Init(void);
void NCMAG_UpdateCompass(void);
void NCMAG_ToggleMode(void);
#endif // __NCMAG_H