I have an Arduino BT board here and I'm trying to set up some simple data transfer app. from the Arduino to a PC.
I wanted to change the baud rate between the PC and the BT module so I followed the initialization code but changed the line below to use 9600 baud.
Serial.println("SET CONTROL BAUD 115200,8n1"); //first release 19200
Now when I try to upload code avrdude throws and error.
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I can still pair with the Arduino BT module but nothing else seems to be working.
I'm guessing this wasn't the correct way to change the baud rate?
The Arduino BT page says that serial communication between the ATMega168 and the BT module needs to be 115200 but now I've set it to 9600 in setup(). Is this why it won't program anymore?
How can I reprogram it again?
Edit: I've checked the board and COM settings and I've also tried pressing reset and clicking the upload at the same time. It didn't work.