I've programmed my Arduino to pull multiple variables from sensors, calculate the results, and then print the results to serial and the LCD screen. The issue that I'm running into is that the LCD screen is displaying artifacts that I cannot get rid of.
I've attached a picture of what I get on my display when I get my results. I can't get everything I want to display on the screen with the characters on there so it all looks a bit basic.
Here's and example of the variable collection and LCD print.
//Distance3
digitalWrite(trig3Pin, LOW);
delayMicroseconds(2);
digitalWrite(trig3Pin, HIGH);
delayMicroseconds(15);
digitalWrite(trig3Pin, LOW);
duration3 = pulseIn(echo3Pin, HIGH);
distance3 = float(51.6-((duration3/2) / 74.0));
Serial.print(distance1);
Serial.println(distance2);
Serial.println(distance3);
lcd.setCursor(0,0);
lcd.print(distance1);
lcd.println(" ");
lcd.print(distance2);
lcd.setCursor(0,1);
lcd.println(" ");
lcd.print(distance3);
}