// instead of String you can use char*
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7);
#define tipka 3
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
pinMode(tipka, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
static int stevec = 0;
if(!digitalRead(tipka)){
stevec++;
lcd.setCursor(0,1);
lcd.print(stevec);
delay(500);
}
}