Remove wait time at the end of each loop
This commit is contained in:
@@ -123,6 +123,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -123,6 +123,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -89,6 +89,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -128,6 +128,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -167,6 +167,3 @@ while True:
|
||||
driving.dc(-100)
|
||||
else:
|
||||
driving.dc(0)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
@@ -119,6 +119,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -123,6 +123,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -186,6 +186,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -123,6 +123,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
@@ -127,6 +127,3 @@ while True:
|
||||
hub.light.on(Color.ORANGE)
|
||||
else:
|
||||
hub.light.on(Color.RED)
|
||||
|
||||
# Wait.
|
||||
wait(10)
|
||||
|
||||
Reference in New Issue
Block a user