#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C LCD = LiquidCrystal_I2C(0x27, 16, 2);

void setup() {
  // put your setup code here, to run once:
  char buffer[10];

  Serial.begin(115200);
  Serial.println("Hello, ESP32!");
  LCD.init();
  LCD.backlight();
  LCD.setCursor(0,1);
  LCD.print("hello");
  
  LCD.setCursor(0,0);
  float a=326.86;
  dtostrf(a,6,1,buffer);
  LCD.print(buffer);
  delay(1000);
  
  LCD.setCursor(0,0);
  a=26.8;
  dtostrf(a,6,1,buffer);
  LCD.print(buffer);
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(10); // this speeds up the simulation
}