rückwärts
This commit is contained in:
1 parent
630f3920ed
commit
f6cdbce038
1 file changed
+4
-3
+4
-3
@@ -83,9 +83,9 @@ def backwards(delay, steps):
|
|||||||
# ----------------- MOTOR KRAM ENDE
|
# ----------------- MOTOR KRAM ENDE
|
||||||
|
|
||||||
def FahreMotor():
|
def FahreMotor():
|
||||||
forward(1.0/1000.0, ViertelRundeSteps)
|
# forward(1.0/1000.0, ViertelRundeSteps)
|
||||||
# falls auf der anderen Seite montiert:
|
# falls auf der anderen Seite montiert:
|
||||||
#backwards(1.0/1000.0, ViertelRundeSteps)
|
backwards(1.0/1000.0, ViertelRundeSteps)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
fragen_liste = load_database()
|
fragen_liste = load_database()
|
||||||
@@ -143,7 +143,8 @@ def submit_quiz():
|
|||||||
|
|
||||||
current_index += 1
|
current_index += 1
|
||||||
|
|
||||||
# Überprüfen, ob wir alle Fragen beantwortet haben
|
# Überprüfen# 1/4 Drehung = 2 Loch weiter
|
||||||
|
, ob wir alle Fragen beantwortet haben
|
||||||
if current_index >= len(fragen_liste):
|
if current_index >= len(fragen_liste):
|
||||||
fragen_liste = load_database()
|
fragen_liste = load_database()
|
||||||
random.shuffle(fragen_liste)
|
random.shuffle(fragen_liste)
|
||||||
|
|||||||
Reference in new issue
Block a user