Untitled

 avatar
unknown
plain_text
a year ago
470 B
5
Indexable
#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd 
  lcd.backlight();
  lcd.setCursor(3,0);
  lcd.print("Hello, world!");

}


void loop()
{
  lcd.clear();
  lcd.setCursor(3,0);
  lcd.print("Welcome");
  lcd.setCursor(0,1);
  lcd.print("TeachMeSomething");
  delay(1500);
}
Editor is loading...
Leave a Comment