#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C LCD = LiquidCrystal_I2C(0x27,16,2);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
//Serial.println("Hello, ESP32!");
LCD.init();
LCD.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
unsigned int a = analogRead(A3);
float volt = (a*3.3)/4095;
LCD.clear();
LCD.print(volt);
LCD.print(" volt");
delay(1000); // this speeds up the simulation
}