Subversion Repositories FlightCtrl

Rev

Rev 755 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
755 killagreg 1
#ifndef _CMPS03_H
2
#define _CMPS03_H
3
 
4
#include <inttypes.h>
5
 
6
// Initialization
7
void CMPS03_Init(void);
8
 
9
// should be called cyclic to get actual compass reading
10
void CMPS03_Update(void);
11
 
12
// calculates the current compass heading in a range from 0 to 360 deg.
13
// returns -1 if no compass data are available
14
int16_t CMPS03_Heading(void);
15
 
16
#endif //_CMPS03_H
17