Re: What is the Arduino Uno Serial buffer size?

my code is

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

and How to receive data serial more than 64 bytes???
please Help..!!

Major thread necro from a year ago. Let's start again shall we?

Your code does nothing useful. It doesn't store the read data anywhere.

Previous discussion here: What is the Arduino Uno Serial buffer size? - Programming Questions - Arduino Forum