#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7); //RS,E,D4...

void setup() {
  // put your setup code here, to run once:
  lcd.begin(16,2); //16 stlopcev 2 vrstici


}

int counter= 10;
//String str_beseda = "Besedilo";
char*beseda="Pappler";
void loop() {
  // put your main code here, to run repeatedly:
  tekstPrint(beseda);
  steviloPrint(counter);

}


//void tekstPrint(String tekst){ // *tekst je kazalec
void tekstPrint(char*tekst){
  lcd.setCursor(0,1);
  lcd.print(tekst);
}

void steviloPrint (int x){
  lcd.setCursor(0,0);
  lcd.print(x);
}