#include <LiquidCrystal.h>
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 23, en = 22, d4 = 21, d5 = 19, d6 = 18, d7 = 5;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int potpin=13;
int val;
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16,2);
}
void loop() {
val=analogRead(13);
lcd.setCursor(0,1);
lcd.print(val);
}