Skip to content

Instantly share code, notes, and snippets.

@skynettw
Last active December 25, 2017 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skynettw/9bc0cc259d43e7efb2e65ef9df4d8da6 to your computer and use it in GitHub Desktop.
Save skynettw/9bc0cc259d43e7efb2e65ef9df4d8da6 to your computer and use it in GitHub Desktop.
#include "Wire.h"
#include "LiquidCrystal_I2C.h"
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3,POSITIVE);
void setup() {
lcd.begin(16,2);
lcd.backlight();
delay(2000);
lcd.noBacklight();
delay(2000);
lcd.backlight();
delay(1000);
}
void loop() {
lcd.setCursor(0,0);
lcd.print("Hi, NKFUST!!");
delay(1000);
lcd.setCursor(0,1);
lcd.print("Good Morning ");
delay(3000);
lcd.setCursor(0,1);
lcd.print("Nice to meet you");
delay(3000);
lcd.setCursor(0,1);
lcd.print("Have a nice day ");
delay(3000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment