Rev 592 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 592 | Rev 593 | ||
---|---|---|---|
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 | //-------------H.F.------------ |
|
- | 22 | #define LED1_ON PORTC |= 0x04 |
|
- | 23 | #define LED1_OFF PORTC &=~0x04 |
|
- | 24 | #define LED2_ON PORTC |= 0x08 |
|
- | 25 | #define LED2_OFF PORTC &=~0x08 |
|
- | 26 | //-------------H.F.------------ |
|
Line 21... | Line 27... | ||
21 | 27 | ||
22 | #define F_CPU SYSCLK |
28 | #define F_CPU SYSCLK |
23 | //#ifndef F_CPU |
29 | //#ifndef F_CPU |
24 | //#error ################## F_CPU nicht definiert oder ungültig ############# |
30 | //#error ################## F_CPU nicht definiert oder ungültig ############# |