#include <LiquidCrystal.h>
LiquidCrystal lcd(7,6,5,4,3,2);

int trig=8; 
int echo=9;
int time=0;
int distance=0;
void setup() {
lcd.begin(16, 2);
Serial.begin (9600);
pinMode (trig, OUTPUT);
pinMode (echo, INPUT);
}
void loop() {
digitalWrite (trig, HIGH); 
delayMicroseconds (10); 
digitalWrite (trig, LOW); 
time=pulseIn(echo, HIGH); 
distance= (time*0.034)/2;
Serial.println("Distance= ");
Serial.println(distance);
lcd.print(distance);
delay(2000);
lcd.clear();
}
$abcdeabcde151015202530fghijfghij