portd.4 und portd.5 ist für pwm am atmega32 !!!!

Config Portd.4 = Output
Config Portd.5 = Output