Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
700 | killagreg | 1 | #ifndef _MM3_H |
2 | #define _MM3_H |
||
3 | |||
4 | #include <inttypes.h> |
||
5 | |||
6 | typedef struct |
||
7 | { |
||
8 | int8_t X_off; |
||
9 | int8_t Y_off; |
||
10 | int8_t Z_off; |
||
11 | int16_t X_range; |
||
12 | int16_t Y_range; |
||
13 | int16_t Z_range; |
||
14 | } MM3_calib_t; |
||
15 | |||
16 | extern MM3_calib_t MM3_calib; |
||
17 | |||
726 | killagreg | 18 | void MM3_Init(void); |
19 | void MM3_Update(void); |
||
20 | void MM3_Calibrate(void); |
||
21 | int16_t MM3_Heading(void); |
||
700 | killagreg | 22 | |
23 | #endif //_MM3_H |
||
24 |