/branches/V0.68d Code Redesign killagreg/mm3.h |
---|
15,9 → 15,15 |
extern MM3_calib_t MM3_calib; |
// Initialization of the MM3 communication |
void MM3_Init(void); |
// should be called cyclic to get actual compass reading |
void MM3_Update(void); |
// this function calibrates the MM3 |
// and returns immediately if the communication to the MM3-Board is broken. |
void MM3_Calibrate(void); |
// calculates the current compass heading in a range from 0 to 360 deg. |
// returns -1 of no compass data are available |
int16_t MM3_Heading(void); |
#endif //_MM3_H |