Ok, on to Atmega32

I am still playing around with it.
I realized that there is a mistake in the code of my previous post. Unfortunately I dont find the "edit" option to change this post and update it.
"// NOT A PORT" has to be changed twice in "NOT A PORT". Don't ask me why
I uploaded a small programme to test input and output, and it works fine and with the right ports now. But I still haven´t tested if all ports are really active and what happens with PWM,timer and so on.
I will take a look at it the next days.