Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 549 → Rev 550

/tags/V2.06i/ncmag.h
0,0 → 1,20
#ifndef __NCMAG_H
#define __NCMAG_H
 
#include "compass.h"
#include "i2c.h"
 
#define NCMAG_PORT_EXTERN I2C0
#define NCMAG_PORT_INTERN I2C1
 
extern u8 NCMAG_Present;
extern u8 NCMAG_IsCalibrated;
extern u8 NCMAG_Orientation;
 
u8 NCMAG_Init(void);
void NCMAG_Update(u8 init);
u8 NCMAG_GetOrientationFromAcc(void);
void NCMAG_CheckOrientation(void);
 
#endif // __NCMAG_H