File tree Expand file tree Collapse file tree 2 files changed +41
-9
lines changed
Expand file tree Collapse file tree 2 files changed +41
-9
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ Make sure that you look at the `User Resources`_ section as well for links
4545to documentation and larger examples.
4646
4747Usage Examples
48- ------------
48+ --------------
4949
5050To run these minimal examples, run the Python3 interpreter from
5151the terminal using the ``python3 `` command:
5252
53- .. code-block ::
53+ .. code-block :: bash
5454
5555 $ python3
5656 Python 3.4.2 (default, Oct 8 2014, 14:47:30)
Original file line number Diff line number Diff line change @@ -3,6 +3,45 @@ Other classes
33
44.. currentmodule :: ev3dev.core
55
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+ Button
26+ ------
27+
28+ .. autoclass :: ev3dev.ev3.Button
29+ :members:
30+ :inherited-members:
31+
32+ .. rubric :: Event handlers
33+
34+ These will be called when state of the corresponding button is changed:
35+
36+ .. py :data :: on_up
37+ .. py :data :: on_down
38+ .. py :data :: on_left
39+ .. py :data :: on_right
40+ .. py :data :: on_enter
41+ .. py :data :: on_backspace
42+
43+ .. rubric :: Member functions and properties
44+
645Leds
746----
847
@@ -44,13 +83,6 @@ Power Supply
4483.. autoclass :: PowerSupply
4584 :members:
4685
47- Button
48- ------
49-
50- .. autoclass :: ev3dev.ev3.Button
51- :members:
52- :inherited-members:
53-
5486Sound
5587-----
5688
You can’t perform that action at this time.
0 commit comments