#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7); // RS,E...D7
int counter = 10;
//String str_beseda = "Besedilo";
char *beseda = "BESEDA";
void setup() {
lcd.begin(16,2); // 16 stolpcev in 2 vrstici
}
void loop() {
tekstPrint(beseda);
steviloPrint(counter);
}
void tekstPrint(char *tekst){ // *tekst - kazalec
//void tekstPrint(String tekst){
lcd.setCursor(0,1); // prvi stolpec, druga vrstica
lcd.print(tekst);
}
void steviloPrint(int x){
lcd.setCursor(0,0);
lcd.print(x);
}