Serial Communication

How to receive Data Serial more than 64 bytes in Arduino??

any idea??
thanks..

Just keep reading it!

Mark

Discussed here
http://forum.arduino.cc/index.php/topic,96280.0.html

Constantly read as it arrives, so the buffer is never full (unless you have blocking code maybe)

my code is:

while(Serial.available()>0)
{
char inChar = (char)Serial.read();
}

how to read more than 64 byte data serial???

budiraharjo:
how to read more than 64 byte data serial???

Why do you think that code doesn't?

I already tried that code, but data serial that received only 64 byte

budiraharjo:
I already tried that code, but data serial that received only 64 byte

You tried more than that code, as that code doesn't compile. So post the entire sketch that your tried.

I suspect that you tried to send more than 64 characters to code that has a delay in it, perhaps simply caused by serial printing what you received. Even a small delay can cause a buffer overflow, which appears to be what you observe.