mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
doc/hubs: remove builtins section
This will not be used in the next release.
This commit is contained in:
@@ -6,13 +6,6 @@
|
||||
.. data:: Port.A
|
||||
.. data:: Port.B
|
||||
|
||||
.. rubric:: Built-in devices
|
||||
|
||||
The City Hub has several built-in devices, configured as follows:
|
||||
|
||||
.. attribute:: light = ColorLight()
|
||||
.. attribute:: battery = Battery()
|
||||
|
||||
Usage of each built-in device is described below.
|
||||
|
||||
.. rubric:: Using the hub status light
|
||||
|
||||
@@ -9,19 +9,6 @@
|
||||
|.. data:: Port.S1|.. data:: Port.S2|.. data:: Port.S3|.. data:: Port.S4|
|
||||
+-----------------+-----------------+-----------------+-----------------+
|
||||
|
||||
.. rubric:: Built-in devices
|
||||
|
||||
The EV3 Brick has several built-in devices, configured as follows:
|
||||
|
||||
.. attribute::
|
||||
buttons = KeyPad([KeyPad.UP, KeyPad.DOWN, KeyPad.LEFT, KeyPad.RIGHT])
|
||||
.. attribute:: display = Display(width=178, height=128)
|
||||
.. attribute:: light = ColorLight([Color.RED, Color.GREEN])
|
||||
.. attribute:: speaker = Speaker()
|
||||
.. attribute:: battery = Battery()
|
||||
|
||||
Usage of each built-in device is described below.
|
||||
|
||||
.. rubric:: Using the buttons
|
||||
|
||||
.. automethod:: pybricks._instances.buttons.pressed
|
||||
|
||||
@@ -7,15 +7,6 @@
|
||||
|.. data:: Port.A |.. data:: Port.B |.. data:: Port.C |.. data:: Port.D |
|
||||
+-----------------+-----------------+-----------------+-----------------+
|
||||
|
||||
.. rubric:: Built-in devices
|
||||
|
||||
The Move Hub has several built-in devices, configured as follows:
|
||||
|
||||
.. attribute:: light = ColorLight()
|
||||
.. attribute:: battery = Battery()
|
||||
|
||||
Usage of each built-in device is described below.
|
||||
|
||||
.. rubric:: Using the hub status light
|
||||
|
||||
.. automethod:: pybricks._instances.light.on
|
||||
|
||||
Reference in New Issue
Block a user