Subversion Repositories FlightCtrl

Rev

Blame | Last modification | View Log | RSS feed

#ifndef _MM3_H
#define _MM3_H

#include <inttypes.h>

typedef struct
{
        int8_t X_off;
        int8_t Y_off;
        int8_t Z_off;
        int16_t X_range;
        int16_t Y_range;
        int16_t Z_range;
} MM3_calib_t;

extern MM3_calib_t MM3_calib;

void MM3_init(void);
void MM3_timer0(void);
void MM3_calibrate(void);
int16_t MM3_heading(void);

#endif //_MM3_H