#include<LiquidCrystal.h>
const int rs=12,en=11,d4=5,d5=4,d6=3,d7=2;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
int lm_35= A3;
void setup() {
pinMode(lm_35, INPUT);
Serial.begin(9600); // put your setup code here, to run once:
lcd.begin(16,2);
}
void loop() {
int temp_adc;
float temp;
temp_adc=analogRead(lm_35);
temp=temp_adc*4.88; // put your main code here, to run repeatedly:
temp=temp/10;
lcd.setCursor(0,0);
lcd.print("temperature=");
lcd.setCursor(0,1);
lcd.print(temp);
lcd.print("C");
delay(1000);
}