// For: https://forum.arduino.cc/t/hello-world-only-on-one-line/955049/2
#include <LiquidCrystal.h>
// LCD pins for RS,E,DB4,DB5,DB6,DB7
// Hooked to Arduino digital pins 4,5,6,7,8,9
LiquidCrystal lcd(4,5,6,7,8,9);
void setup()
{
// The LCD has two rows of 16 characters each
lcd.begin(16, 2);
lcd.clear();
}
void loop()
{
lcd.setCursor(5, 0); // (column,row) with 0,0 is upper-left corner
lcd.print("Hello");
lcd.setCursor(6, 1); // lower line is row 1, column 6 is 6th from left
lcd.print("world!");
delay(10000);
}