Sketch 1
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 13, 5, 4, 3, 2);
void setup() {
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
}
void loop() {
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print(" BotShop"); // change text to whatever you like. keep it clean!
delay(800);
lcd.clear();
lcd.setCursor(0,0); // set cursor to column 0, row 1
lcd.print(" IS AWESOME");
delay(800);
}
Sketch 2
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
//I2C pins declaration
// Set the pins on the I2C chip used for LCD connections:
// addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); //Set the LCD I2C address
void setup()
{
lcd.begin(16,2);//Defining 16 columns and 2 rows of lcd display
lcd.backlight();//To Power ON the back light
//lcd.noBacklight();// To Power OFF the back light
}
void loop()
{
//Write your code
lcd.setCursor(0,0); //Defining positon to write from first row,first column .
lcd.print(" Bot Shop "); //You can write 16 Characters per line .
delay(1000);//Delay used to give a dynamic effect
lcd.setCursor(0,1); //Defining positon to write from second row,first column .
lcd.print("Training");
delay(2000);
lcd.clear();//Clean the screen
lcd.setCursor(0,0);
lcd.print(" Get trained ");
lcd.setCursor(0,1);
lcd.print(" NOW ");
delay(3000);
}