Subversion Repositories MK3Mag

Compare Revisions

Ignore whitespace Rev 50 → Rev 51

/tags/V0.21b/main.h
0,0 → 1,34
#ifndef _MAIN_H_
#define _MAIN_H_
 
 
#include <avr/eeprom.h>
#include <inttypes.h>
 
 
typedef enum
{
ATTITUDE_SOURCE_I2C,
ATTITUDE_SOURCE_UART,
ATTITUDE_SOURCE_ACC
} AttitudeSource_t;
 
 
typedef enum
{
ORIENTATION_NC = 0,
ORIENTATION_FC = 1
} Orientation_t;
 
 
extern int16_t Heading;
 
extern AttitudeSource_t AttitudeSource;
extern Orientation_t Orientation;
 
extern int16_t MagX, MagY, MagZ;
 
void SetDebugValues(void);
 
#endif //_MAIN_H_