mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-28 04:07:46 +00:00
pybricks.hubs: Add shutdown and stop button blocks.
This commit is contained in:
@@ -60,7 +60,8 @@ class System:
|
||||
button (Button): A button such
|
||||
as :attr:`Button.CENTER <pybricks.parameters.Button.CENTER>`,
|
||||
or a tuple of multiple buttons. Choose ``None`` to disable the
|
||||
stop button altogether.
|
||||
stop button altogether. If you do, you can still turn the hub
|
||||
off by holding the center button for three seconds.
|
||||
"""
|
||||
|
||||
def shutdown(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user