Created
January 13, 2021 06:08
-
-
Save RobolinkTeknoloji/40d16d9966febae8176185f2a899ac29 to your computer and use it in GitHub Desktop.
16x2 Lcd Ekran yazı yazdırma 3
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(){ | |
int i; | |
lcd.setCursor(3,0); // İlk satırın başlangıç noktası | |
lcd.print("ROBOLINK"); | |
for(i=0; i<17; i++) | |
{ | |
lcd.setCursor(i,1); // İkinci satırın başlangıç noktası, for döngüsü sayesinde bu sütun sürekli kayacaktır | |
lcd.print("TEKNOLOJI"); | |
delay(300); | |
lcd.setCursor(i,1); | |
lcd.print(" "); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment