Rev 690 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 690 | Rev 712 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | #define F_CPU SYSCLK |
17 | #define F_CPU SYSCLK |
18 | 18 | ||
19 | 19 | ||
20 | // neue Hardware |
20 | // neue Hardware |
21 | #define ROT_OFF {if(BoardRelease == 10) PORTB &=~0x01; else PORTB |= 0x01;} |
21 | #define ROT_OFF {if(BoardRelease == 10) PORTB &=~(1<<PORTB0); else PORTB |= (1<<PORTB0);} |
22 | #define ROT_ON {if(BoardRelease == 10) PORTB |= 0x01; else PORTB &=~0x01;} |
22 | #define ROT_ON {if(BoardRelease == 10) PORTB |= (1<<PORTB0); else PORTB &=~(1<<PORTB0);} |
23 | #define ROT_FLASH PORTB ^= 0x01 |
23 | #define ROT_FLASH PORTB ^= (1<<PORTB0) |
Line 24... | Line 24... | ||
24 | #define GRN_OFF PORTB &=~0x02 |
24 | #define GRN_OFF PORTB &=~(1<<PORTB1) |
Line 25... | Line 25... | ||
25 | #define GRN_ON PORTB |= 0x02 |
25 | #define GRN_ON PORTB |= (1<<PORTB1) |