Skip to content

Instantly share code, notes, and snippets.

@RobolinkTeknoloji
Created January 13, 2021 06:02
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 RobolinkTeknoloji/d6d22024bc4e044042d48a1544998e5d to your computer and use it in GitHub Desktop.
Save RobolinkTeknoloji/d6d22024bc4e044042d48a1544998e5d to your computer and use it in GitHub Desktop.
16x2 Lcd Ekrana Yazı Yazma 2
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // Bu kodu kullanırken ekranda yazı çıkmaz ise 0x27 yerine 0x3f yazınız !!
void setup() {
lcd.begin();
}
void loop() {
lcd.setCursor(0,0); // İlk satırın başlangıç noktası
lcd.print("Robolink");
lcd.setCursor(0,1);
lcd.print("Teknoloji"); // İkinci satırın başlangıç noktası
delay(2000);
//ikinci yazı
lcd.clear();
lcd.noBacklight(); // LCD Ekran ışığını kapatır
delay(2000);
lcd.backlight(); // LCD Ekran ışığını açar
lcd.setCursor(0,0); // İlk satırın başlangıç noktası
lcd.print("Begen");
lcd.setCursor(0,1); // İkinci satırın başlangıç noktası
lcd.print("Abone Ol");
delay(2000);
lcd.clear();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment