Kullanılan Malzemeler;
Arduino UNO
HD44780
1K Direnç
Code:
#include <LiquidCrystal.h>
long i=0;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup(){
lcd.begin(16, 2);
lcd.setCursor(0,0);
lcd.print("VELI UTAS");
}
void loop(){
lcd.setCursor(0, 1);
lcd.print(i);
i=i+1;
}
0 yorum: