Zitat von damaltor
Code:void BackLED ( unsigned char left, unsigned char right) { if (left || right) { PORTD &= ~(1 << PD7); // Rad-LED's OFF DDRC |= (1 << PC0) | (1 << PC1); // Port als Output => KEINE Odometrie PORTC |= (1 << PC0) | (1 << PC1); } if (!left) PORTC &= ~(1 << PC1); if (!right) PORTC &= ~(1 << PC0); }
Lesezeichen