Hi Arduino Family!
I'm trying to send via the serial port datas to Arduino DUE.
I'm sending 400 coefficients but i'm able to read only the 10 first.
Do you have any idea of what I can do to read the 400 coefficents in the shortest time possible?
Thank you.
Here is the code I use to read the datas :
void loop(){
while ( Serial.available()>0 ) {
recue = Serial.read();
delay(5);
reponse_recue += recue;
indice_hex++;
if (indice_hex == 6 ) // I am recieving Hex values as string, so I'm waiting to have 6 caracteres before convert it int
{
valeur_coefficient = String2Dec( reponse_recue);
}
indice_hex = 0;
reponse_recue = "";
}
}
}