Stapeln/Entstapenln hinzugefügt

This commit is contained in:
Benedikt Elssmann 2019-12-29 21:28:11 +01:00
parent bbe80f8a88
commit 56539689fd

View file

@ -74,3 +74,165 @@ void klinik() {
digitalWrite(K, LOW);
delay(1000);
}
void fromLeft() {
digitalWrite(L, HIGH);
delay(500);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(L, LOW);
delay(400);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(400);
digitalWrite(K, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(900);
digitalWrite(L, HIGH);
delay(500);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(L, LOW);
delay(400);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(900);
digitalWrite(L, HIGH);
delay(500);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(L, LOW);
delay(900);
digitalWrite(L, HIGH);
delay(3000);
}
void fromRight() {
digitalWrite(K, HIGH);
delay(500);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(K, LOW);
delay(400);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(400);
digitalWrite(L, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(900);
digitalWrite(K, HIGH);
delay(500);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(K, LOW);
delay(400);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(900);
digitalWrite(K, HIGH);
delay(500);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(K, LOW);
delay(900);
digitalWrite(K, HIGH);
delay(3000);
}
void toLeft() {
digitalWrite(L, HIGH);
digitalWrite(I, HIGH);
digitalWrite(N, HIGH);
digitalWrite(K, HIGH);
digitalWrite(L, LOW);
delay(1000);
digitalWrite(L, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(400);
digitalWrite(L, LOW);
delay(1000);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(400);
digitalWrite(L, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(400);
digitalWrite(L, LOW);
delay(1000);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(K, LOW);
delay(400);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(400);
digitalWrite(L, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(400);
digitalWrite(L, LOW);
delay(3000);
}
void toRight() {
digitalWrite(L, HIGH);
digitalWrite(I, HIGH);
digitalWrite(N, HIGH);
digitalWrite(K, HIGH);
digitalWrite(K, LOW);
delay(1000);
digitalWrite(K, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(400);
digitalWrite(K, LOW);
delay(1000);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(400);
digitalWrite(K, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(400);
digitalWrite(K, LOW);
delay(1000);
digitalWrite(I, HIGH);
delay(100);
digitalWrite(L, LOW);
delay(400);
digitalWrite(N, HIGH);
delay(100);
digitalWrite(I, LOW);
delay(400);
digitalWrite(K, HIGH);
delay(100);
digitalWrite(N, LOW);
delay(400);
digitalWrite(K, LOW);
delay(3000);
}