#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
int pot=A0;
int value;
void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
  lcd.clear();
  lcd.begin(16,2);
  lcd.setCursor(0,0);
  lcd.print("Pot value:");
  value=analogRead(pot);
  lcd.setCursor(0,1);
  lcd.print(value);
  delay(50);
}