mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 09:37:25 +00:00
13 lines
229 B
Python
13 lines
229 B
Python
from pybricks.hubs import TechnicHub
|
|
from pybricks.tools import wait
|
|
|
|
# Initialize the hub.
|
|
hub = TechnicHub()
|
|
|
|
# Say goodbye and give some time to send it.
|
|
print("Goodbye!")
|
|
wait(100)
|
|
|
|
# Shut the hub down.
|
|
hub.system.shutdown()
|