Subversion Repositories FlightCtrl

Rev

Rev 726 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 726 Rev 741
Line 13... Line 13...
13
        int16_t Z_range;
13
        int16_t Z_range;
14
} MM3_calib_t;
14
} MM3_calib_t;
Line 15... Line 15...
15
 
15
 
Line -... Line 16...
-
 
16
extern MM3_calib_t MM3_calib;
16
extern MM3_calib_t MM3_calib;
17
 
-
 
18
// Initialization of the MM3 communication
17
 
19
void MM3_Init(void);
-
 
20
// should be called cyclic to get actual compass reading
-
 
21
void MM3_Update(void);
18
void MM3_Init(void);
22
// this function calibrates the MM3
-
 
23
// and returns immediately if the communication to the MM3-Board is broken.
-
 
24
void MM3_Calibrate(void);
19
void MM3_Update(void);
25
// calculates the current compass heading in a range from 0 to 360 deg.
Line 20... Line 26...
20
void MM3_Calibrate(void);
26
// returns -1 of no compass data are available