Rev 1085 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1085 | Rev 1086 | ||
---|---|---|---|
Line 131... | Line 131... | ||
131 | else PlatinenVersion = 11; |
131 | else PlatinenVersion = 11; |
132 | } |
132 | } |
133 | else |
133 | else |
134 | { |
134 | { |
135 | if(PINB & 0x02) PlatinenVersion = 20; |
135 | if(PINB & 0x02) PlatinenVersion = 20; |
- | 136 | else |
|
- | 137 | { |
|
136 | else PlatinenVersion = 10; |
138 | PlatinenVersion = 10; |
- | 139 | // Salvo 9.12.2007 PC6 als Ausgang |
|
- | 140 | DDRC = 0xCD; // SCL und PC2,PC3, PC6 als Ausgang |
|
- | 141 | // Salvo End |
|
- | 142 | } |
|
137 | } |
143 | } |
Line 138... | Line 144... | ||
138 | 144 | ||
139 | DDRC = 0x81; // SCL |
145 | // DDRC = 0x81; // SCL |
140 | DDRC |=0x40; // HEF4017 Reset |
146 | DDRC |=0x40; // HEF4017 Reset |
141 | PORTC = 0xff; // Pullup SDA |
147 | PORTC = 0xff; // Pullup SDA |
142 | DDRB = 0x1B; // LEDs und Druckoffset |
148 | DDRB = 0x1B; // LEDs und Druckoffset |
143 | PORTB = 0x01; // LED_Rot |
149 | PORTB = 0x01; // LED_Rot |