Stap 3: Uploaden van de code via USB
#includefloat temp;
int tempPin = 0;
LiquidCrystal 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 ("TEMPRATUUR =");
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);
}