problem starting with arduino

i started today using arduino with a very easy program and it doesnt work, it tell me that (arduino UNO r3)Arduino:1.6.4 (Windows 8.1), Placa:"Arduino Uno"

Sketch uses 2.180 bytes (6%) of program storage space. Maximum is 32.256 bytes.

Global variables use 184 bytes (8%) of dynamic memory, leaving 1.864 bytes for local variables. Maximum is 2.048 bytes.

avrdude: ser_open(): can't open device "\.\COM1": El sistema no puede encontrar el archivo especificado.

Problema subiendo a la placa. Visita http://www.arduino.cc/en/Guide/Troubleshooting#upload para sugerencias.

This report would have more information with
"Show verbose output during compilation"
activala desde Archivo > Preferencias

Which port have you got selected in the IDE ?
Does COM1 disappear from the list in the IDE when the Arduino is unplugged ?
Is the Arduino plugged into COM1 ?

int mivariable=555 ;
void setup() {
Serial .begin (9600) ;

}
void loop() {
Serial .println (mivariable);
mivariable=mivariable+1 ;

}

this is the program

ah sorry i thought it was in the fórum, not a PM sorry, where have i to put it?

in com3, the examples doesn't work too

i cant actívate serial ports it cames come 3 and i cant change it, when i selected serial ports nothing appears.
thanks

did you remember to select the correct board first. under tools select the uno then see if the port changes from grey to black. If the port is not black after a few seconds unplug the usb cable and try a different usb port on your computer. Once port shows black click on it and select the uno which it will show connected.

when i disconect arduino uno from the computer and i try to verify the examples that cames with the IDE it send me the same error (whit arduino disconected) the error says that

global variales use 9 bytes (0%) of dinamic memory, leaving 2039 bytes of local variables maximun is 2048 bytes

That is not an error message. It is reporting success in compiling the program and telling you how much memory is being used to hold the program.

sorry!!!! thanks a lot :smiley:
it's true

but yestarday i have problems with COM today i solve them so i cant realiced that the only error mesage was this one now. thanks a lot :smiley: