a
This commit is contained in:
@@ -24,7 +24,8 @@ def main():
|
|||||||
legs = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
legs = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
||||||
print("Moving all legs to the initial position (55 degrees).")
|
print("Moving all legs to the initial position (55 degrees).")
|
||||||
for leg in legs:
|
for leg in legs:
|
||||||
move_leg_with_prompt(leg, ANGLE_INITIAL)
|
kit.servo[leg].angle = ANGLE_INITIAL
|
||||||
|
time.sleep(DELAY)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
for leg in legs:
|
for leg in legs:
|
||||||
|
|||||||
Reference in New Issue
Block a user