Subversion Repositories FlightCtrl

Rev

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

Rev 723 Rev 918
Line 13... Line 13...
13
 
13
 
14
// neue Hardware
14
// neue Hardware
15
#define ROT_OFF   {if(PlatinenVersion == 10) PORTB &=~0x01; else  PORTB |= 0x01;}
15
#define ROT_OFF   {if(PlatinenVersion == 10) PORTB &=~0x01; else  PORTB |= 0x01;}
16
#define ROT_ON    {if(PlatinenVersion == 10) PORTB |= 0x01; else  PORTB &=~0x01;}
16
#define ROT_ON    {if(PlatinenVersion == 10) PORTB |= 0x01; else  PORTB &=~0x01;}
17
#define ROT_FLASH PORTB ^= 0x01
17
#define ROT_FLASH PORTB ^= 0x01
18
#define GRN_OFF   PORTB &=~0x02 
18
#define GRN_OFF   {if(PlatinenVersion < 12) PORTB &=~0x02; else PORTB |= 0x02;} 
19
#define GRN_ON    PORTB |= 0x02 
19
#define GRN_ON    {if(PlatinenVersion < 12) PORTB |= 0x02; else PORTB &=~0x02;} 
Line 20... Line 20...
20
#define GRN_FLASH PORTB ^= 0x02
20
#define GRN_FLASH PORTB ^= 0x02
21
 
21
 
22
#define F_CPU SYSCLK
22
#define F_CPU SYSCLK