Files
pybricks-api/doc/api/iodevices/uartdevice.rst
T
Laurens Valk 46d9e3c119 doc/iodevices: refactor
Split all classes to their own file. This keeps things organized, and allows per-class comments about compatibility. Also flatten toggled examples.
2021-01-13 16:54:18 +01:00

21 lines
541 B
ReStructuredText

Generic UART Device
^^^^^^^^^^^^^^^^^^^
.. note::
This class is **only supported on the EV3** at this time. It could be added
to Powered Up hubs in a future release. If you'd like to see this happen,
be sure to ask us on our `support page`_.
.. _support page: https://github.com/pybricks/support/issues/
.. figure:: ../../api/images/sensor_rj12_gray.png
:width: 25 %
.. autoclass:: pybricks.iodevices.UARTDevice
**Example: Read and write to a UART device**
.. literalinclude::
../../../examples/ev3/uart_basics/main.py