PROBLEM UPLOADING TO BOARD

Please help I have been trying to get my arduino to upload for weeks.

Here is my code

int temperaturePin = 0;
int ledRed = 12;
int ledYellow = 13;
float temp = 1;

void setup()
{
Serial.begin(9600);
pinMode(ledRed, OUTPUT);
pinMode(ledYellow, OUTPUT);

}

void loop()
{

float temperature = getVoltage(temperaturePin);
float temperatureC = (temperature - .5) * 100;
float temperatureF = (((temperature - .5) * 100)*1.8) + 32;
Serial.println(temperature);
Serial.println(temperatureC);
Serial.println(temperatureF);
float tI;
temperatureF= tI;

if (temperatureF - tI < temp)
{
digitalWrite (ledRed, HIGH);
digitalWrite (ledYellow, LOW);
delay(1000);
}
else{
digitalWrite (ledRed, LOW);
digitalWrite (ledYellow, HIGH);
delay(1000);
digitalWrite (ledYellow, LOW);
delay(1000);
digitalWrite (ledYellow, HIGH);
delay(1000);
digitalWrite (ledYellow, LOW);
delay(1000);
digitalWrite (ledYellow, HIGH);
delay(1000);
digitalWrite (ledYellow, LOW);
delay(1000);
digitalWrite (ledYellow, HIGH);
delay(1000);
digitalWrite (ledYellow, LOW);
delay(1000);
digitalWrite (ledYellow, HIGH);
delay(1000);
digitalWrite (ledYellow, LOW);
delay(1000);

}
}
float getVoltage(int pin){
return (analogRead(pin) * .004882814);
}

HERE Is the error

Binary sketch size: 5,038 bytes (of a 32,256 byte maximum) - 15% used
avrdude: ser_open(): can’t open device “\.\COM1”: The system cannot find the file specified.

processing.app.debug.RunnerException: Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
at processing.app.debug.BasicUploader.uploadUsingPreferences(BasicUploader.java:126)
at processing.app.Sketch.upload(Sketch.java:1649)
at processing.app.Sketch.exportApplet(Sketch.java:1608)
at processing.app.Sketch.exportApplet(Sketch.java:1580)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2408)
at java.lang.Thread.run(Thread.java:619)

SOMEONE PLEASE HELP ME UPLOAD MY CODE TO ARDUINO

It says the system cant find Arduino in COM1 Port.

Right Click My Computer > Properties > Device Manager.

Browse through the lists and select USB Devices.

You will see Arduino (COMxx) where XX is a number.

Go to your IDE and set the port under tools > serial port.

I hope that fixes ;)

avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.