#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
const int potentiometerPin = A0;
void setup() {
lcd.begin(16,2);
lcd.print("Potentiometer:");
}
void loop(){
int sensorValue = analogRead(potentiometerPin);
lcd.setCursor(0,1);
lcd.print("Value: ");
lcd.print(sensorValue);
delay(200);
}