Rev 2418 | Rev 2427 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2418 | Rev 2426 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | //#define UserParameter8_FAILSAFE |
8 | //#define UserParameter8_FAILSAFE |
9 | //#define RECEIVER_SPEKTRUM_DX7EXP |
9 | //#define RECEIVER_SPEKTRUM_DX7EXP |
10 | //#define RECEIVER_SPEKTRUM_DX8EXP |
10 | //#define RECEIVER_SPEKTRUM_DX8EXP |
Line 11... | Line 11... | ||
11 | 11 | ||
12 | // neue Hardware |
12 | // neue Hardware |
13 | #define ROT_OFF {if((PlatinenVersion == 10)||(PlatinenVersion >= 20)) PORTB &=~0x01; else PORTB |= 0x01;} |
13 | //#define ROT_OFF {if((PlatinenVersion == 10)||(PlatinenVersion >= 20)) PORTB &=~0x01; else PORTB |= 0x01;} |
- | 14 | //#define ROT_ON {if((PlatinenVersion == 10)||(PlatinenVersion >= 20)) PORTB |= 0x01; else PORTB &=~0x01;} |
|
- | 15 | ||
- | 16 | #define ROT_OFF {PORTB &=~0x01;} |
|
- | 17 | #define ROT_ON {PORTB |= 0x01;} |
|
14 | #define ROT_ON {if((PlatinenVersion == 10)||(PlatinenVersion >= 20)) PORTB |= 0x01; else PORTB &=~0x01;} |
18 | |
15 | #define ROT_FLASH PORTB ^= 0x01 |
19 | #define ROT_FLASH PORTB ^= 0x01 |
16 | #define GRN_OFF {if((PlatinenVersion < 12) || PlatinenVersion == 25) PORTB &=~0x02; else PORTB |= 0x02;} |
20 | //#define GRN_OFF {if((PlatinenVersion < 12) || PlatinenVersion == 25) PORTB &=~0x02; else PORTB |= 0x02;} |
- | 21 | //#define GRN_ON {if((PlatinenVersion < 12) || PlatinenVersion == 25) PORTB |= 0x02; else PORTB &=~0x02;} |
|
- | 22 | #define GRN_OFF {if(PlatinenVersion == 25) PORTB &=~0x02; else PORTB |= 0x02;} |
|
17 | #define GRN_ON {if((PlatinenVersion < 12) || PlatinenVersion == 25) PORTB |= 0x02; else PORTB &=~0x02;} |
23 | #define GRN_ON {if(PlatinenVersion == 25) PORTB |= 0x02; else PORTB &=~0x02;} |
Line 18... | Line 24... | ||
18 | #define GRN_FLASH PORTB ^= 0x02 |
24 | #define GRN_FLASH PORTB ^= 0x02 |
Line 19... | Line 25... | ||
19 | 25 |