char typedstuff[65]; short int i = 0; while(Serial.available() == 1) { typedstuff[i] = Serial.read(); i++; } typedstuff[i] = '\0';