Hallo

Kann mir jemand sagen was hier nicht stimmt

Linker Getriebemotor Ein/ Aus
PD4 PD4 = 0=Aus 1=Ein

Linker Getriebemotor Drehrichtung
PC6
PC7
Erste Richtung:
PC6=0
PC7=1
Zweite Richtung
PC6=1
PC7=0



DDRD = (1 << DDD4);
DDRC = (1 << DDC6) | (1 << DDC7);
PORTC |= (1 << 6);
PORTC &= (1 << 7);
PORTD |= (1 << 4);

Bitte kann mir jemand helfen