#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
const int potentiometerPin=A0;
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
lcd.print("LCD POTENTIOMETER");
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue=analogRead(potentiometerPin);
lcd.setCursor(0,1);
lcd.print(sensorValue);
delay(500);
}