Led across two outputs?

Thank you very much, it works! But the problem now is that I've to put that resistor every time I start the arduino with the external power supply, and I need that port for the serial comunication. Is there any other solution?

Thanks again