Subversion Repositories FlightCtrl

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef _CMPS03_H
#define _CMPS03_H

#include <inttypes.h>

// Initialization
void CMPS03_Init(void);

// should be called cyclic to get actual compass reading
void CMPS03_Update(void);

// calculates the current compass heading in a range from 0 to 360 deg.
// returns -1 if no compass data are available
int16_t CMPS03_Heading(void);

#endif //_CMPS03_H