#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7); //RS, E, D4 .... D7
int x = 10;
void setup() {
lcd.begin(16,2); //16 stolpcev in 2 vrstici
}
int counter = 10;
//String str_beseda = "Besedilo";
char * beseda = "JANEZ";
void loop() {
// put your main code here, to run repeatedly:
/*
lcd.setCursor(3,1);
lcd.print(millis()/100);*/
/*
lcd.setCursor(0,1);
lcd.print("Stevec: ");
lcd.setCursor(10,1);
lcd.print(millis()/100);
lcd.setCursor(0,0);
lcd.print("Primer: ");
lcd.setCursor(10,0);
lcd.print(x);*/
//tekstPrint("BESEDILO!!"); // klic funkcije tekstPrint
//tekstPrint(str_beseda);
tekstPrint(beseda);
steviloPrint(counter);
}
void tekstPrint(char *tekst) { // *tekst = kazalec (kaže na prvi znak v printu, npr. B)
//void tekstPrint(String tekst) {
lcd.setCursor(0,1);
lcd.print(tekst);
}
void steviloPrint(int x) {
lcd.setCursor(0,0);
lcd.print(x);
}
uno:A5.2
uno:A4.2
uno:AREF
uno:GND.1
uno:13
uno:12
uno:11
uno:10
uno:9
uno:8
uno:7
uno:6
uno:5
uno:4
uno:3
uno:2
uno:1
uno:0
uno:IOREF
uno:RESET
uno:3.3V
uno:5V
uno:GND.2
uno:GND.3
uno:VIN
uno:A0
uno:A1
uno:A2
uno:A3
uno:A4
uno:A5
lcd1:VSS
lcd1:VDD
lcd1:V0
lcd1:RS
lcd1:RW
lcd1:E
lcd1:D0
lcd1:D1
lcd1:D2
lcd1:D3
lcd1:D4
lcd1:D5
lcd1:D6
lcd1:D7
lcd1:A
lcd1:K
r1:1
r1:2