Not a member of gistpad yet?
Sign Up,
it unlocks many cool features!
- #include <Wire.h>
- #include <LiquidCrystal_I2C.h>
- LiquidCrystal_I2C lcd(0x27,16,2);
- void setup()
- {
- lcd.init();
- lcd.backlight();
- }
- void loop()
- {
- lcd.setCursor(0,0);
- lcd.print("Baris Ke-1");
- lcd.setCursor(0,1);
- lcd.print("Baris Ke-2");
- int i=0;
- for (i = 0 ; i < 42; i++)
- {
- lcd.scrollDisplayRight();
- delay(200);
- }
- int a=0;
- for (a = 0 ; a < 42; a++)
- {
- lcd.scrollDisplayLeft();
- delay(200);
- }
- }
RAW Gist Data
Copied
