Urget Help - Arduino Uno - Not Uploading???

My Code:

#include <DualVNH5019MotorShield.h>
DualVNH5019MotorShield md;
char dataIn='S';char determinant;char det;int vel = 0; //Bluetooth Stuff
//int power = 4; // Remove This To Enable Tollge Switch #2
int overdrive = 13; //Press Toggle Switch #1, the pin13 LED will light up

void setup(){
Serial.begin(9600);md.init();
/*pinMode(power , OUTPUT);*/ //toggle switch function
pinMode(overdrive, OUTPUT);
}

void loop(){ det = check();

while (det == 'F') // F, move forward
{md.setSpeeds(vel,vel);det = check();}

while (det == 'B') // B, move back
{md.setSpeeds(-vel,-vel);det = check();}

while (det == 'L') // L, move wheels left
{md.setSpeeds(vel/4,vel);det = check();}

while (det == 'R') // R, move wheels right
{md.setSpeeds(vel,vel/4);det = check();}

while (det == 'I') // I, turn right forward
{md.setSpeeds(vel,vel/2);det = check();}

while (det == 'J') // J, turn right back
{md.setSpeeds(-vel,-vel/2);det = check();}

while (det == 'G') // G, turn left forward
{md.setSpeeds(vel/2,vel);det = check();}

while (det == 'H') // H, turn left back
{md.setSpeeds(-vel/2,-vel);det = check();}

while (det == 'S') // S, stop
{md.setSpeeds(0,0);det = check();}

//---------------------Toggle switch code------------------//
/* while (det == 'U')
{digitalWrite(power, HIGH);det = check();}
while (det == 'u')
{digitalWrite(power, LOW);det = check();}*/
//---------------------Mains Power------------------//
while (det == 'W')
{digitalWrite(overdrive, HIGH);det = check();}
while (det == 'w')
{digitalWrite(overdrive, LOW);det = check();}
}

int check()
{if (Serial.available() > 0) {dataIn = Serial.read();
if (dataIn == 'F'){determinant = 'F';}
else if (dataIn == 'B'){determinant = 'B';}else if (dataIn == 'L'){determinant = 'L';}
else if (dataIn == 'R'){determinant = 'R';}else if (dataIn == 'I'){determinant = 'I';}
else if (dataIn == 'J'){determinant = 'J';}else if (dataIn == 'G'){determinant = 'G';}
else if (dataIn == 'H'){determinant = 'H';}else if (dataIn == 'S'){determinant = 'S';}
else if (dataIn == '0'){vel = 400;}else if (dataIn == '1'){vel = 380;}
else if (dataIn == '2'){vel = 340;}else if (dataIn == '3'){vel = 320;}
else if (dataIn == '4'){vel = 280;}else if (dataIn == '5'){vel = 240;}
else if (dataIn == '6'){vel = 200;}else if (dataIn == '7'){vel = 160;}
else if (dataIn == '8'){vel = 120;}else if (dataIn == '9'){vel = 80;}
else if (dataIn == 'q'){vel = 40;}else if (dataIn == 'U'){determinant = 'U';}
else if (dataIn == 'u'){determinant = 'u';}else if (dataIn == 'W'){determinant = 'W';}
else if (dataIn == 'w'){determinant = 'w';}}return determinant;}

My Error:
Arduino: 1.6.5 (Windows 7), Board: "Arduino Uno"

Sketch uses 3,158 bytes (9%) of program storage space. Maximum is 32,256 bytes.

Global variables use 198 bytes (9%) of dynamic memory, leaving 1,850 bytes for local variables. Maximum is 2,048 bytes.

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.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.


What Im Using:

Arudino:


Motor Shield:

Bluetooth Device:
http://www.dx.com/p/jy-mcu-arduino-bluetooth-wireless-serial-port-module-104299#.VdKKEfnLno0


I feel as though the code will not work with this arduino, because the instrutable i have been following is using this one



Please any help would do, i'm a year 12 student and i don't know much about arduino programming. So please be specific and don't use jargen. THANK YOU!

Also forgot to mention that:
The arduino works

as the power led is green
and the pin 13 Orange LED is flashing.

Go and read the instructions, then go back and modify your post to mark up the code as such so we can examine it comfortably and reliably.

Now, you describe the error message

avrdude: ser_open(): can't open device "\\.\COM1"

That means you have not used the Tools => Serial Port menu option to set the COM port your UNO is actually using. It will not be COM1.

I can't change the port, i'm not to sure why. Thanks for replying I understand the issue now just have no idea how come i can't select the port

COM.png

PORT.png

Regarding your second screen shot, if you touch the arrow to the right of the "Port" bar, something should appear.

If it shows only COM1, it means that your PC is not "seeing" the UNO at all. I suppose if nothing at all appears, it means that your computer does not in fact have a COM1 and - is not seeing the UNO at all.

So your concern now is that the UNO driver is not loaded or is not recognising the UNO. Did you install it before - and has the UNO actually functioned before?

We'll I cant even select another port. It's not a dark black text its a light gray text meaning i can't even put my mouse over it. I've never installed the arudino before, this is my first time. I think it may be faulty so I've ordered a new one and i'm going to install the program onto another computer. If i have no luck i'll post back onto here

Esotropic:
I've never installed the Arudino before, this is my first time.

So you need to install the Arduino UNO driver.