#include <LiquidCrystal_I2C.h>
const int potPin = 2;
LiquidCrystal_I2C lcd(0x27,16,2);
int potValue=0;
void setup(){
lcd.init();
lcd.setCursor(0,0);
lcd.print("BACA ADC");
delay(2000);
lcd.clear();
}
void loop(){
potValue=analogRead(potPin);
lcd.setCursor(0,0);
lcd.print("ADC:");
lcd.setCursor(6,0);
lcd.print(potValue);
delay(200);
}