Skip to content

Commit a3a3643

Browse files
authored
freeze state (#42)
1 parent 336bf7b commit a3a3643

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sketches/robot/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ def calibrate_color():
291291
a.drive(0, 0)
292292
showFreezeAnimation()
293293
showReadyToPlayLeds()
294+
while a.get_color_label() == "BLUE" or a.get_color_label() == "LIGHT BLUE":
295+
receiveAndExecuteFromEspNow()
294296
elif color == "GREEN" or color == "LIGHT GREEN":
295297
if not isPlayingReverted:
296298
deadline = ticks_add(

0 commit comments

Comments
 (0)