// ETEC Aristóteles Ferreira.
// Lucas Nascimento 3P1.
// ----------------------------------------------------- //
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
int potPin = 34;
void setup() {
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("LBN");
}
void loop() {
int potValue = analogRead(potPin);
lcd.setCursor(0, 1);
lcd.print("Valor: ");
lcd.print(potValue);
lcd.print(" ");
delay(500);
}
// ----------------------------------------------------- //