Skip to content

Instantly share code, notes, and snippets.

@RobolinkTeknoloji
Created January 13, 2021 06:08
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/40d16d9966febae8176185f2a899ac29 to your computer and use it in GitHub Desktop.
Save RobolinkTeknoloji/40d16d9966febae8176185f2a899ac29 to your computer and use it in GitHub Desktop.
16x2 Lcd Ekran yazı yazdırma 3
#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