Hi,
I am trying to send stuff to the Arduino via a PC-Serial port and Arduino seems to chop things off at 64 bytes.
Where am I going wrong?
This is what I am sending
111,211,311,411,511,611,711,811,911,011,111,211,311,411,511,611,711,811,911,011,111,211,311,411,511,611,711,811,911,011,111,211,
and this is all I get back
111,211,311,411,511,611,711,811,911,011,111,211,311,411,511,611,7,
char strMsg[130] = {0};
void setup()
{ Serial.begin(115200);
delay(400);
}
void loop()
{ int i = 0;
if (Serial.available())
{ while (Serial.available() > 0)
{ char t = Serial.read();
strMsg[i++] = t;
delay(5);
}
Serial.println();
{ for (int j = 0; j < i; j++)
{ Serial.print(strMsg[j]);
}
Serial.println();
}
Serial.println();
}
}