Hello, i am fairly new a user of arduino. i recently got my Arduino BT but i have been having problems uploading any code to the Arduino. At first i used to be able to see two COM ports (outgoing and incoming) when i went to tools > serial > COM 3 and COM 4. However, when it tried uploading i would get the same two sync errors all the time.
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
That was a few days ago. Nowadays i cant even see the outgoing COM port (COM 4) on the tools > serial menu. I dont think ive changed any settings but i am unable to see the outgoing com port as option. So now i cant even access the outgoing com port to upload. I am not sure what to do, please help.
I am powering the Arduino BT with 5 volts. is there any special pin which i should power it to? (5v vs. 9v pins)?
My code (it compiles):
int ledPin = 8; // LED connected to digital pin 13
// The setup() method runs once, when the sketch starts
void setup() {
// initialize the digital pin as an output:
Serial.begin(115200);
pinMode(ledPin, OUTPUT);
}
// the loop() method runs over and over again,
// as long as the Arduino has power
void loop()
{
for(int i = 0; i < 10; ++i)
{digitalWrite(ledPin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED off
delay(1000); } // wait for a second
}
Thanks in advance.