Arduino LCD text merge together

Hi,
So i am making a project containing a keypad and a LCD panel (2x16), but when i run this code:

    lcd.setCursor(0, 0);
    lcd.clear();
    lcd.setCursor(0, 0);
    lcd.print("EULA was declined! To continue you have to accept eula.");
    lcd.setCursor(0, 1);
    lcd.print(" Please restart your microwave by pressing (B)");
    while(true){
    lcd.scrollDisplayLeft();
    delay(300);
    }
  }

the two lanes of text are merging together! How can i fix it?

xjulek:
the two lanes of text are merging together! How can i fix it?

Print less.
2)
Consider scrolling.

Not an Installation and Troubleshooting question.

Consider scrolling.

How do i scroll tho?
and isin't this "

 while(true){
      lcd.scrollDisplayLeft();
      delay(300);
    }

" scrolling?

Possibly, never used it. Your problem already starts before that because the first text is already far too long.

But I was thinking of scrolling vertically.

character by character scrolling on a 16x2 LCD looks terribly and is badly readable.
by the way, most buffers are limited to 40 characters per line, and you have 56 characters.
Therefore line 0 and 1 are mixed up.

consider to write messages in 16 characters long only - or chose another display.

Thanks for your help! I will try to fix it

Line Wrapping for the 16x2 lcd display is supported by the hd44780.h library which is available through the library manager.

Further information is available at

I have not used this functionality, so I do not know what your output will look like with the line wrapping enabled, but its worth a look.