11Other classes
22=============
33
4- .. currentmodule :: ev3dev.core
5-
6- Remote Control
7- --------------
8-
9- .. autoclass :: RemoteControl
10- :members:
11- :inherited-members:
12-
13- .. rubric :: Event handlers
14-
15- These will be called when state of the corresponding button is changed:
16-
17- .. py :data :: on_red_up
18- .. py :data :: on_red_down
19- .. py :data :: on_blue_up
20- .. py :data :: on_blue_down
21- .. py :data :: on_beacon
22-
23- .. rubric :: Member functions and properties
24-
25- Beacon Seeker
26- -------------
27-
28- .. autoclass :: BeaconSeeker
29- :members:
30- :inherited-members:
31-
324Button
335------
346
35- .. autoclass :: ev3dev.ev3 .Button
7+ .. autoclass :: ev3dev.button .Button
368 :members:
379 :inherited-members:
3810
@@ -52,10 +24,10 @@ Button
5224Leds
5325----
5426
55- .. autoclass :: Led
27+ .. autoclass :: ev3dev.led. Led
5628 :members:
5729
58- .. autoclass :: ev3dev.ev3 .Leds
30+ .. autoclass :: ev3dev.led .Leds
5931 :members:
6032
6133 .. rubric :: EV3 platform
8759 Power Supply
8860------------
8961
90- .. autoclass :: PowerSupply
62+ .. autoclass :: ev3dev.power. PowerSupply
9163 :members:
9264
9365Sound
9466-----
9567
96- .. autoclass :: Sound
68+ .. autoclass :: ev3dev.sound. Sound
9769 :members:
9870
9971Screen
10072------
10173
102- .. autoclass :: Screen
74+ .. autoclass :: ev3dev.display.Display
10375 :members:
10476 :show-inheritance:
10577
10678Bitmap fonts
10779^^^^^^^^^^^^
10880
109- The :py:class: `Screen ` class allows to write text on the LCD using python
81+ The :py:class: `Display ` class allows to write text on the LCD using python
11082imaging library (PIL) interface (see description of the ``text() `` method
11183`here <http://pillow.readthedocs.io/en/3.1.x/reference/ImageDraw.html#PIL.ImageDraw.PIL.ImageDraw.Draw.text >`_).
11284The ``ev3dev.fonts `` module contains bitmap fonts in PIL format that should
@@ -115,7 +87,7 @@ look good on a tiny EV3 screen:
11587.. code-block :: py
11688
11789 import ev3dev.fonts as fonts
118- screen .draw.text((10 ,10 ), ' Hello World!' , font = fonts.load(' luBS14' ))
90+ display .draw.text((10 ,10 ), ' Hello World!' , font = fonts.load(' luBS14' ))
11991
12092 .. autofunction :: ev3dev.fonts.available
12193
@@ -129,5 +101,5 @@ to EV3 screen size:
129101Lego Port
130102---------
131103
132- .. autoclass :: LegoPort
104+ .. autoclass :: ev3dev.port. LegoPort
133105 :members:
0 commit comments