{ digitalWrite(trig , HIGH); delay(1); digitalWrite(trig, LOW); t = pulseIn(echo, HIGH); d= t/58.2; Serial.println("cm"); Serial.print(d); delay(400); }