Created
January 13, 2021 06:02
-
-
Save RobolinkTeknoloji/d6d22024bc4e044042d48a1544998e5d to your computer and use it in GitHub Desktop.
16x2 Lcd Ekrana Yazı Yazma 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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