#include LiquidCrystal_I2C lcd(0X27,16,2); int buton; int buton2; int sayac=0; void setup() { pinMode(12,INPUT); pinMode(13,INPUT); lcd.begin(); } void loop() { buton=digitalRead(13); buton2=digitalRead(12); if (buton==1) { delay(300); sayac=sayac+1; lcd.clear(); lcd.setCursor(0,0); lcd.print(sayac); } if(buton2==1) { delay(300); sayac=sayac-1; lcd.clear(); lcd.setCursor(0,0); lcd.print(sayac); } }