mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
doc: rename hub rst file
Each hub will have its own RST file.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
:mod:`hubs` -- LEGO® Programmable Hubs
|
||||
=============================================
|
||||
:mod:`hubs` -- EV3 Brick
|
||||
==============================================
|
||||
|
||||
.. automodule:: pybricks.hubs
|
||||
:no-members:
|
||||
@@ -36,7 +36,7 @@ programs and start inventing your own programs.
|
||||
:caption: Pybricks Hubs
|
||||
:hidden:
|
||||
|
||||
ev3brick
|
||||
hubs_ev3brick
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
"""LEGO® MINDSTORMS® EV3 Brick."""
|
||||
|
||||
from .builtins import Speaker, Display, Battery, ColorLight, KeyPad
|
||||
|
||||
sound = Speaker()
|
||||
display = Display()
|
||||
battery = Battery()
|
||||
light = ColorLight()
|
||||
buttons = KeyPad()
|
||||
+1
-2
@@ -4,8 +4,7 @@ from .builtins import Speaker, Display, Battery, ColorLight, KeyPad
|
||||
|
||||
|
||||
class EV3Brick():
|
||||
"""LEGO® MINDSTORMS® EV3 Brick.
|
||||
"""
|
||||
"""LEGO® MINDSTORMS® EV3 Brick."""
|
||||
Port = Enum('Port', ['A', 'B', 'C', 'D', 'S1', 'S2', 'S3', 'S4'])
|
||||
speaker = Speaker()
|
||||
display = Display()
|
||||
|
||||
Reference in New Issue
Block a user