#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7);
int x = 10;
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);//16 stolpcev 2 vrstici
}
void loop() {
// put your main code here, to run repeatedly:
textPrint("besedilo");//klic funkcije text print
steviloPrint(100);
}
void textPrint(char *text){//*text = kazalec
lcd.setCursor(0,1);
lcd.print(text);
}
void steviloPrint(int x ){
lcd.setCursor(0,0);
lcd.print(x);
}