Stap 1:
#include < LiquidCrystal.h >
LiquidCrystal lcd (12, 11, 5, 4, 3, 2);
#define LCD_CLEAR 0b00000001 / / 0 × 01
float temp;
int tempPin = 0;
VOID Setup {}
Serial.begin(9600);
LCD.begin (16, 2);
LCD.Print("");
}
void loop {}
Temp = analogRead(tempPin);
temp temp = * 0.48828125;
lcd.setCursor (0, 0);
LCD.Print(temp);
LCD.Print ("C");
delay(1000);
LCD.Clear();
Serial.println(temp);
}