Rev 1002 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1002 | Rev 1003 | ||
---|---|---|---|
Line 121... | Line 121... | ||
121 | { |
121 | { |
122 | if(PINB & 0x02) PlatinenVersion = 13; |
122 | if(PINB & 0x02) PlatinenVersion = 13; |
123 | else PlatinenVersion = 11; |
123 | else PlatinenVersion = 11; |
124 | } |
124 | } |
125 | else PlatinenVersion = 10; |
125 | else PlatinenVersion = 10; |
- | 126 | // Salvo 9.12.2007 PC6 als Ausgang |
|
- | 127 | DDRC = 0xCD; // SCL und PC2,PC3, PC6 als Ausgang |
|
- | 128 | // Salvo End |
|
126 | DDRC = 0x81; // SCL |
129 | // DDRC = 0x81; // SCL |
127 | PORTC = 0xff; // Pullup SDA |
130 | PORTC = 0xff; // Pullup SDA |
128 | DDRB = 0x1B; // LEDs und Druckoffset |
131 | DDRB = 0x1B; // LEDs und Druckoffset |
129 | PORTB = 0x01; // LED_Rot |
132 | PORTB = 0x01; // LED_Rot |
130 | DDRD = 0x3E; // Speaker & TXD & J3 J4 J5 |
133 | DDRD = 0x3E; // Speaker & TXD & J3 J4 J5 |
131 | DDRD |=0x80; // J7 |
134 | DDRD |=0x80; // J7 |