#include <LiquidCrystal_I2C.h>
#define LCD_ADDR 0x27
#define LCD_COLUMNS 16
#define LCD_ROWS 2
LiquidCrystal_I2C lcd(LCD_ADDR, LCD_COLUMNS, LCD_ROWS);
//use remove code from loop to use no loop version//
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
lcd.init();
lcd.backlight();
lcd.setCursor(2,0);
lcd.print("Physic Lab");
lcd.setCursor(0,1);
lcd.print("How to Code Help");
}
//repeat version//
void loop() {
// put your main code here, to run repeatedly:
lcd.clear();
lcd.print("Physic Lab 2");
delay(2000);
lcd.clear();
lcd.print("Learning how to");
lcd.setCursor(0,1);
lcd.print("Code!;-;");
delay(2000);
lcd.clear();
lcd.print("I think");
lcd.setCursor(0,1);
lcd.print("I Understand!");
delay(2000);
lcd.clear();
lcd.print("How to code LCD");
lcd.setCursor(0,1);
lcd.print("maybe..");
delay(2000);
lcd.clear();
}