Untitled
unknown
plain_text
2 years ago
470 B
7
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