Hi,

in der main steht jetzt nur noch folgendes:
Code:
int main() {
	MOT_A_DDR |= (1 << MOT_A_D1) | (1 << MOT_A_D2);
	MOT_B_DDR |= (1 << MOT_B_D1) | (1 << MOT_B_D2);

	//PWM Ports auf Ausgänge stellen
	MOT_PWM_DDR |= (1 << 5) | (1 << 6) | (1 << 7);

	PORTB |= (1 << PB5) | (1 << PB6);

	MOT_A_PORT &= ~(1 << MOT_A_1);
	MOT_A_PORT |= (1 << MOT_A_2);

	MOT_B_PORT &= ~(1 << MOT_B_1);
	MOT_B_PORT |= (1 << MOT_B_2);
	while(1);
	return 0;
}
Das Problem bleibt das gleiche, scheint also nicht mit den Interrupts und PWM zu tun zu haben.