String SerialRead(){ String seriale = ""; char rx = ''; do{ seriale=seriale+rx; //add last char to seriale, that is nothing if it is the first loop while(!Serial.available()){ ;// do nothing } //now there is at least one char in Serial, read it rx=Serial.read(); }while(rx!='\\'); return seriale;}