#include
#include
#include
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7);
void setup()
{
lcd.begin (16,2);
lcd.setBacklightPin(3,POSITIVE);
lcd.setBacklight(HIGH);
}
void loop()
{
lcd.setCursor(0,0);
lcd.print("SMK NEBULA");
for (int i=0; i<16 br="" i=""> lcd.scrollDisplayRight();
delay(500);}
lcd.setCursor(0,1);
lcd.print("TEAV");
for (int i=0; i<16 br="" i=""> lcd.scrollDisplayLeft();
delay(500);}
lcd.setBacklight(LOW);
lcd.setBacklight(HIGH);
delay(1000);
}
16>16>
Tidak ada komentar:
Posting Komentar