the attached image says it all
Change Serial.write to Serial.print or Serial.prinln. println will add a new line each time.