Files
pybricks-api/doc/main/index.rst
T
Laurens Valk 7895cac17f index: Simplify landing.
Docs are great if you know what to look for already. Otherwise it is better to start in the welcome guide.
2026-06-02 12:01:00 +02:00

92 lines
2.4 KiB
ReStructuredText

Pybricks Reference Manual
==================================================================
.. only:: ide
This documentation details all available functions and classes in Pybricks.
For example, you can find the meaning of specific function parameters like
motor speed.
If you are new to Pybricks, we recommend starting with the `Pybricks learn`_
guide instead.
.. only:: main
`Pybricks <https://pybricks.com/>`_ is Python coding for smart LEGO® hubs.
Run MicroPython scripts
directly on the hub, and get full control of your motors and sensors.
Pybricks runs on LEGO® BOOST, City, Technic, MINDSTORMS®, and SPIKE®. You
can code using Windows, Mac, Linux, Chromebook, and Android.
.. note:: You are viewing the stand-alone version of the documentation. To
learn more about Pybricks and to start coding, visit
the `Pybricks website`_
.. note:: Are you using LEGO MINDSTORMS EV3? Check out the
`EV3 documentation`_ instead.
Click on any device below to see its documentation. Use the menu on the left
to find documentation for additional modules. You may need to click the ☰ icon
above to reveal this menu.
.. _EV3 documentation: https://pybricks.com/ev3-micropython/
.. _Pybricks website: https://pybricks.com/
.. _Pybricks learn: https://pybricks.com/learn/
.. rubric:: Programmable hubs
.. figure:: ../main/cad/output/hub-all.png
:width: 100 %
:target: hubs/index.html
.. rubric:: Powered Up motors and sensors
.. figure:: ../main/cad/output/pupdevice-all.png
:width: 100 %
:target: pupdevices/index.html
.. figure:: ../main/cad/output/pupdevice-motors.png
:width: 100 %
:target: pupdevices/motor.html
.. figure:: ../main/cad/output/pupdevice-dcmotors.png
:width: 70 %
:target: pupdevices/dcmotor.html
.. toctree::
:maxdepth: 1
:caption: Table of contents
:hidden:
.. toctree::
:maxdepth: 1
:caption: Pybricks modules
:hidden:
hubs/index
pupdevices/index
iodevices/index
parameters/index
tools/index
robotics
messaging/index
signaltypes
.. toctree::
:maxdepth: 1
:caption: MicroPython modules
:hidden:
micropython/builtins
micropython/exceptions
micropython/micropython
micropython/uerrno
micropython/uio
micropython/ujson
micropython/umath
micropython/urandom
micropython/uselect
micropython/ustruct
micropython/usys