/branches/V0.68d J16J17/main.c |
---|
96,7 → 96,9 |
PORTB = 0x00; |
for(timer = 0; timer < 1000; timer++); // verzögern |
if(PINB & 0x01) PlatinenVersion = 11; else PlatinenVersion = 10; |
DDRC = 0x81; // SCL |
// [Harrie:] DDRC : 0x8D=128+8+4+1 so PC0,PC2(LED1),PC3(LED2),PC7 are now defined as outputs |
DDRC = 0x8D; // SCL |
PORTC = 0xff; // Pullup SDA |
DDRB = 0x1B; // LEDs und Druckoffset |
PORTB = 0x01; // LED_Rot |