Rev 19 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19 | killagreg | 1 | #ifndef _MAIN_H_ |
2 | #define _MAIN_H_ |
||
1 | ingob | 3 | |
4 | |||
5 | #include <avr/eeprom.h> |
||
19 | killagreg | 6 | #include <inttypes.h> |
1 | ingob | 7 | |
8 | |||
9 | |||
10 | #define SYSCLK 8000000L //Quarz Frequenz in Hz |
||
11 | |||
28 | killagreg | 12 | typedef enum |
13 | { |
||
14 | ATTITUDE_SOURCE_I2C, |
||
15 | ATTITUDE_SOURCE_UART, |
||
16 | ATTITUDE_SOURCE_ACC |
||
17 | } AttitudeSource_t; |
||
1 | ingob | 18 | |
28 | killagreg | 19 | |
19 | killagreg | 20 | extern uint8_t PC_Connected; |
21 | extern int16_t Heading; |
||
28 | killagreg | 22 | extern AttitudeSource_t AttitudeSource; |
1 | ingob | 23 | |
28 | killagreg | 24 | extern int16_t MagX, MagY, MagZ; |
7 | hbuss | 25 | |
19 | killagreg | 26 | void SetDebugValues(void); |
7 | hbuss | 27 | |
19 | killagreg | 28 | #endif //_MAIN_H_ |
1 | ingob | 29 | |
30 | |||
31 | |||
32 | |||
33 |