int licht; char aufenthaltsort = "Wohnzimmer"; void setup() { Serial.begin(9600); analogRead(0); } void loop() { licht = analogRead(0); Serial.println(licht); if (licht > 45){ Serial.println(aufenthaltsort: "Das Licht ist AN"); delay(200); } else{ Serial.println("Wohnzimmer: Das Licht ist AUS"); delay(200); } }