Skip to content
Snippets Groups Projects
Commit 09b6913b authored by Václav Jelínek's avatar Václav Jelínek
Browse files

Add 200 ms wait at the cube startup

parent 6d6a90b1
No related branches found
No related tags found
No related merge requests found
Pipeline #76242 passed
......@@ -7,6 +7,8 @@ import gc
from lib.robot import Robot
from lib.robot_consts import Button
esp_name = "Open-Cube01"
# File and directory constants for browsing user programs
......@@ -103,6 +105,8 @@ def main():
robot.esp.timeout()
return bt_pair, pin
utime.sleep_ms(200) # wait for all components of the Cube to start
# Initialize variables
robotState = 0
menu_move = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment