Files
pybricks-api/source/ev3brick.rst
T
Laurens Valk 0cc04f40b8 doc: add battery
Fixes #114

- reorganize common classes in fake API such as Display, Speaker and Battery.
- This does not change the user API
2019-03-01 14:25:56 +01:00

60 lines
936 B
ReStructuredText

:mod:`ev3brick` -- The EV3 Programmable Brick
=============================================
.. automodule:: ev3brick
:no-members:
Buttons
-------
.. autofunction:: ev3brick.buttons
Light
-----
.. autofunction:: ev3brick.light
Sound
-----
.. automethod:: ev3brick.sound.beep
.. automethod:: ev3brick.sound.beeps
.. automethod:: ev3brick.sound.file
Display
-------
::
x
-------------->
(0, 0) __________________
| |
| | |
y | | Hello |
| | World |
v | |
|__________________|
(177, 127)
.. automethod:: ev3brick.display.clear
.. automethod:: ev3brick.display.text
.. automethod:: ev3brick.display.image
Battery
-------
.. automethod:: ev3brick.battery.voltage
.. automethod:: ev3brick.battery.current