> as i said, you want to use LATD instead of PORTD.
Ok, Now i know it is about RMW. As I put "pause 5000" right after portD.7=1 command, the led in portD.7 will light for 5seconds.
There ain't any other solution than find another port for output-like portB.1?
Bookmarks