#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 = 12, en = 11, d4 = 4, d5 =5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int potPin=A0;
void setup() {
// initialize LCD and set up the number of columns and rows:
lcd.begin(16, 2);
lcd.print("Canal OUT 0 Volts:");
}
void loop() {
lcd.setCursor(0,1);
int sensorValue=analogRead(potPin);
float sensorfinal=(sensorValue*10.0)/(1024);
lcd.print(sensorfinal);
}