Can't upload to the board

Hi, I am a beginner of using Arduino. I just bought a UNO ATMEGA328 board yesterday. However, I can’t upload my program to it. I have chosen the correct port and the right board on the Tools menu. But I still can’t find the problems. Please tell me what the problem is.

Thanks a lot

Please put your code in its own window as seen in other posts. This can be done by placing     [code] and [/code]  around the code. This makes it easier for others to read.

Without knowing what errors, it is only guessing.

Give us the errors you get.


Thanks, it works. Problems have been solved.

Describe it please for other people.

I typed led[4]={10,11,12,13}. It means that I have already declared that it is a array with four spaces, but I typed led in the following codes.