#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7);
void setup() {
lcd.begin(16,2); //16 stolpcev in 2 vrstici
}
int counter = 10;
//String str_besedilo = "Besedilo";
char * beseda = "Bob";
void loop() {
//tekstPrint(str_beseda);
tekstPrint(beseda);
//steviloPrint(100);
steviloPrint(counter);
}
//void tekstPrint(char*tekst){
void tekstPrint(char * tekst){
lcd.setCursor(0,1);
lcd.print(tekst);
}
void steviloPrint(int x){
lcd.setCursor(0,0);
lcd.print(x);
}