Hallo

Da die Ports defaultmäßig auf Input eingestellt sind fehlt wohl noch ein fluffiges

DDRD |= (1<<PD5);

Gruß

mic