mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
doc/battery: not an independently usable class
There are only the instances on hubs that support it, and they are already documented there, so delete generic copy.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
Batteries
|
||||
=========
|
||||
|
||||
|
||||
The Battery Class
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autoclass:: pybricks.builtins.Battery
|
||||
@@ -39,4 +39,3 @@ Intro
|
||||
frames
|
||||
motors
|
||||
sound
|
||||
battery
|
||||
|
||||
@@ -185,8 +185,7 @@ voltage: mV
|
||||
--------------
|
||||
Voltages are expressed in millivolt (mV).
|
||||
|
||||
For example, you can check the voltage of the :meth:`battery
|
||||
<.builtins.Battery.voltage>`.
|
||||
For example, you can check the voltage of the battery.
|
||||
|
||||
.. _current:
|
||||
|
||||
@@ -195,5 +194,4 @@ current: mA
|
||||
|
||||
Electrical currents are expressed in milliampere (mA).
|
||||
|
||||
For example, you can check the current supplied by the :meth:`battery
|
||||
<.builtins.Battery.current>`.
|
||||
For example, you can check the current supplied by the battery.
|
||||
|
||||
Reference in New Issue
Block a user