Code: Select all
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(Serial.available())
{
char a=Serial.readBytes(char,6)
Serial.println(a);
}
but i am getting error:"primary expression missing before char"
maybe this due to my poor understanding of that function help me please