#include <LiquidCrystal.h>
const int tempPin = A0;
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
void setup() {
lcd.begin(16, 2);
lcd.print("Health Monitor");
delay(2000);
lcd.clear();
}
void loop() {
int sensorValue = analogRead(tempPin);
float voltage = sensorValue * (5.0 / 1023.0);
float temperatureC = voltage * 100; // LM35 output is 10mV per degree Celsius
lcd.setCursor(0, 0);
lcd.print("Body Temp: ");
lcd.print(temperatureC);
lcd.print(" C");
delay(2000);
}