Subversion Repositories FlightCtrl

Rev

Rev 597 | Rev 918 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 597 Rev 723
Line 17... Line 17...
17
#define ROT_FLASH PORTB ^= 0x01
17
#define ROT_FLASH PORTB ^= 0x01
18
#define GRN_OFF   PORTB &=~0x02 
18
#define GRN_OFF   PORTB &=~0x02 
19
#define GRN_ON    PORTB |= 0x02 
19
#define GRN_ON    PORTB |= 0x02 
20
#define GRN_FLASH PORTB ^= 0x02
20
#define GRN_FLASH PORTB ^= 0x02
Line 21... Line -...
21
 
-
 
22
 
-
 
23
 
21
 
24
#define F_CPU SYSCLK
22
#define F_CPU SYSCLK
25
//#ifndef F_CPU
23
//#ifndef F_CPU
26
//#error ################## F_CPU nicht definiert oder ungültig #############
24
//#error ################## F_CPU nicht definiert oder ungültig #############
27
//#endif
25
//#endif
Line 55... Line 53...
55
//extern unsigned long SYSCLK;
53
//extern unsigned long SYSCLK;
56
extern volatile int i_Nick[20],i_Roll[20],DiffNick,DiffRoll;
54
extern volatile int i_Nick[20],i_Roll[20],DiffNick,DiffRoll;
57
extern volatile unsigned char SenderOkay;
55
extern volatile unsigned char SenderOkay;
58
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
56
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
59
extern unsigned char PlatinenVersion;
57
extern unsigned char PlatinenVersion;
60
 
-
 
-
 
58
extern unsigned char SendVersionToNavi;
61
void ReadParameterSet (unsigned char number, unsigned char *buffer, unsigned char length);
59
void ReadParameterSet (unsigned char number, unsigned char *buffer, unsigned char length);
62
void WriteParameterSet(unsigned char number, unsigned char *buffer, unsigned char length);
60
void WriteParameterSet(unsigned char number, unsigned char *buffer, unsigned char length);
63
extern unsigned char GetActiveParamSetNumber(void);
61
extern unsigned char GetActiveParamSetNumber(void);
64
extern unsigned char EEPromArray[];
62
extern unsigned char EEPromArray[];