#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

int pot;

void setup() {
  pinMode(33, INPUT);
  pinMode(25, OUTPUT);
  lcd.init();
  lcd.backlight();
}

void loop() {
  pot = analogRead(33);
  int potPersen = map(pot, 0, 4095, 0, 100);

  lcd.setCursor(0,0);
  lcd.print("Pot: ");
  lcd.print(potPersen);
  lcd.print(" %   ");

  if(potPersen > 50){
    digitalWrite(25, 1);
  } else {
    digitalWrite(25, 0);
  }

  delay(1000);
}
$abcdeabcde151015202530fghijfghij