Rev 894 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 894 | Rev 895 | ||
---|---|---|---|
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 J16 and J17: |
|
- | 22 | #define J16_ON PORTC |= 0x04 |
|
- | 23 | #define J16_OFF PORTC &=~0x04 |
|
- | 24 | #define J17_ON PORTC |= 0x08 |
|
- | 25 | #define J17_OFF PORTC &=~0x08 |
|
Line 21... | Line 26... | ||
21 | 26 | ||
22 | #define F_CPU SYSCLK |
27 | #define F_CPU SYSCLK |
23 | //#ifndef F_CPU |
28 | //#ifndef F_CPU |
24 | //#error ################## F_CPU nicht definiert oder ungültig ############# |
29 | //#error ################## F_CPU nicht definiert oder ungültig ############# |