Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 543 → Rev 544

/branches/salvo_gps/Basis_v0067g/trunk/main.c
96,9 → 96,9
PORTB = 0x00;
for(timer = 0; timer < 1000; timer++); // verzögern
if(PINB & 0x01) PlatinenVersion = 11; else PlatinenVersion = 10;
// Salvo 9.12.2007 PC4 als Ausgang
// DDRC = 0x81; // SCL
DDRC = 0x81; // SCL und PC4
// Salvo 9.12.2007 PC6 als Ausgang
// DDRC = 0x81; // SCL
DDRC = 0xC1; // SCL und PC6 als Ausgang
PORTC = 0xff; // Pullup SDA
DDRB = 0x1B; // LEDs und Druckoffset
PORTB = 0x01; // LED_Rot