Mit Portc = &B00000000 gehts.
Ich bin verwirrt. Heißt das nicht
DDRC = &B00000000 alles Input
DDRC = &B11111111 alles Output
?