#include <LiquidCrystal.h>
const int rs = 7; //pin 7 on arduino to pin 4 (RS) on LCD
const int en = 6; //pin 6 on arduino to pin 6 (E) on LCD
const int d4 = 12; //pin 12 on arduino to pin 11 (D4) on LCD
const int d5 = 10;
const int d6 = 9;
const int d7 = 8; 

LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {
  lcd.begin(16,2);
  lcd.setCursor(2,0);
  lcd.println("Hello");
  lcd.setCursor(4,1);
  lcd.println("mntp");
}

void loop() {
  for (int i = 0 ; i < 16; i++)
  {
    lcd.scrollDisplayLeft();
    delay (250);
  }
}