 }
 
 void loop() {
-  printReadings("Testing",0);
+  printString("Testing");
   estimateDistance(S1trig, S1echo);
-  delayMicroseconds(1000);
+  delay(10000);
 }
 
 void printReadings(String label, long value){
   String phrase = label+": "+value;
-  Serial.print(phrase);
+  printString(phrase);
 }
-
+void printString(String phrase){
+  Serial.println(phrase);
+  Serial.println(" ");
+}
 /*
 Estimate the distance received from the ultrasonic sensor.
 */

  
  digitalWrite(trig,LOW);
  
  //Claculate Duration of pulse.
  duration = pulseIn(echo,HIGH);
  printReadings("Duration", duration);
  


long duration, distance;
void setup() {
  Serial.begin(9600);   
  /*
  Setup of the echo & trig of everysensor.
  */
