Hey guys.
I have problems programming the µDRIVE-uSD-G1 module. (http://www.4dsystems.com.au/prod.php?id=22)
The error is: "acrdude: stk500_getsync(): not in sync: resp=0x00"
The code is here:
//--------------------------------------------------------------------------------------------
byte inByte = 0; // incoming serial byte
void setup()
{
Serial.begin(19200);
Serial.flush();
}
void loop()
{
delay(500);
if(Serial.available()>0){
Serial.write(0x55); //Auto-baud Set-Up
delay(10);
}
if(Serial.available()>0){
inByte=Serial.read(); //Waiting for ACK
}
}
//--------------------------------------------------------------------------------------
What is the problem? What I am doing wrong?