void setup() {
// put your setup code here, to run once:
pinMode(13,OUTPUT);
// Taster
pinMode(9, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
int variable = digitalRead(9);
if(variable == HIGH) {//unbetaetigt
digitalWrite(13,LOW);
}
else{
digitalWrite(13,HIGH);
delay(200);
digitalWrite(13,LOW);
delay(200);
}
}