Subversion Repositories FlightCtrl

Rev

Rev 624 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 624 Rev 738
Line 16... Line 16...
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   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
-
 
21
// [Harrie:] define the LEDs
-
 
22
#define LED1_ON   PORTC |= 0x04
-
 
23
#define LED1_OFF  PORTC &=~0x04
-
 
24
#define LED2_ON   PORTC |= 0x08
-
 
25
#define LED2_OFF  PORTC &=~0x08
Line 21... Line 26...
21
 
26
 
22
 
27