pybricks.hubs: Add shutdown and stop button blocks.

This commit is contained in:
Laurens Valk
2024-03-21 17:06:04 +01:00
parent 15664146bd
commit d4e7657d31
23 changed files with 16850 additions and 1 deletions
+2 -1
View File
@@ -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: