Étape 3: Télécharger le code via le port USB
#includetemp de flotteur ;
int tempPin = 0 ;
Innovente lcd (12, 11, 5, 4, 3, 2) ;
void setup()
{
Serial.Begin(9600) ;
LCD.Begin (16, 2) ;
}
void loop()
{
Temp = analogRead(tempPin) ;
Temp = temp * 0.48828125 ;
Serial.Print ("TEMPRATURE =") ;
Serial.Print(temp) ;
Serial.Print("*C") ;
Serial.println() ;
lcd.setCursor(0,0) ;
LCD.Print("Temperature:") ;
lcd.setCursor(0,1) ;
LCD.Print(temp) ;
LCD.Print("*c") ;
Delay(1000) ;
}