#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define POT_PIN A0
LiquidCrystal_I2C lcd(0x27, 20, 4);
void setup() {
lcd.begin(20, 4);
lcd.print("Hello, Eren!");
}
void loop() {
int potValue = analogRead(POT_PIN);
float voltage = potValue * (5.0 / 1023.0);
lcd.setCursor(0, 1);
lcd.print("Deger: ");
lcd.print(potValue);
lcd.print(" ");
delay(200);
}