int led = 7;
int button = 4;
int zustand;



void setup() {
  
pinMode(led, OUTPUT);
pinMode(button, INPUT);

}
//Ende setup



void loop() {
 
zustand = digitalRead(button);

if(zustand == HIGH)
 digitalWrite(led, HIGH);
else
 digitalWrite(led, LOW);
 

}
//Ende loop
$abcdeabcde151015202530fghijfghij