Rev 1002 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1002 | Rev 1003 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | #define ROT_FLASH PORTB ^= 0x01 |
17 | #define ROT_FLASH PORTB ^= 0x01 |
18 | #define GRN_OFF {if(PlatinenVersion < 12) PORTB &=~0x02; else PORTB |= 0x02;} |
18 | #define GRN_OFF {if(PlatinenVersion < 12) PORTB &=~0x02; else PORTB |= 0x02;} |
19 | #define GRN_ON {if(PlatinenVersion < 12) PORTB |= 0x02; else PORTB &=~0x02;} |
19 | #define GRN_ON {if(PlatinenVersion < 12) PORTB |= 0x02; else PORTB &=~0x02;} |
20 | #define GRN_FLASH PORTB ^= 0x02 |
20 | #define GRN_FLASH PORTB ^= 0x02 |
Line -... | Line 21... | ||
- | 21 | ||
- | 22 | ||
- | 23 | //Salvo 9.12.2007 Umschaltsignal fuer Bluetooth bzw. GPS Daten auf PC7 |
|
- | 24 | #define RX_SWTCH_ON PORTC |= 0x40 |
|
- | 25 | #define RX_SWTCH_OFF PORTC &= ~0x40 |
|
- | 26 | #define LED_J16_ON PORTC |= 0x04 |
|
- | 27 | #define LED_J16_OFF PORTC &= ~0x04 |
|
- | 28 | #define LED_J16_FLASH PORTC ^= 0x04 |
|
- | 29 | //Salvo End |
|
21 | 30 | ||
22 | #define F_CPU SYSCLK |
31 | #define F_CPU SYSCLK |
23 | //#ifndef F_CPU |
32 | //#ifndef F_CPU |
24 | //#error ################## F_CPU nicht definiert oder ungültig ############# |
33 | //#error ################## F_CPU nicht definiert oder ungültig ############# |
25 | //#endif |
34 | //#endif |