#include <LiquidCrystal.h>
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
const int thermistorPin = A0;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
lcd.begin(16, 2);
lcd.setCursor(0, 0);
lcd.print("Temperature:");
}
void loop() {
int thermistorValue = analogRead(thermistorPin);
float temperature = thermistorValue * 0.48876;
lcd.setCursor(0, 1);
lcd.print(temperature);
lcd.print(" C");
lcd.print(" ");
delay(1000);
}