Instantly share code, notes, and snippets.

@skynettw skynettw/arduino-unit-11-1
Last active Dec 25, 2017

Embed
What would you like to do?
#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