I am new to Arduino, and I have been playing around with the LCD Displays. I made it so when I enter a string in the serial monitor, it shows up on the LCD. That's working fine, except that after every string there are 4 horizontal lines that take up one panel. I don't know how to get rid of them.
Here is the code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(3, 4, 5, 6, 7, 8);
String Name;
String Feels;
void setup() {
lcd.begin(16,2);
Serial.begin(9600);
}
void loop() {
lcd.print("Have a name?");
lcd.setCursor(0,1);
delay(2000);
lcd.print("Enter in serial.");
Serial.println("Please write your name.");
while (Serial.available()==0) {
}
Name=Serial.readString();
lcd.clear();
lcd.print("Hello " + Name);
Serial.println(Name);
delay(3000);
lcd.setCursor(0,1);
lcd.print("How are you?");
delay(3000);
Serial.println("Write how you feel.");
while (Serial.available()==0){
}
Feels = Serial.readString();
lcd.clear();
delay(1000);
lcd.print("cool, cool.");
delay(3000);
lcd.clear();
}
Here is an image, Name is the string I entered.