mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
snippets: add uart example
This commit is contained in:
@@ -79,3 +79,10 @@ the `ev3dev I2C`_ page.
|
||||
UART Device
|
||||
^^^^^^^^^^^^^
|
||||
.. autoclass:: pybricks.customdevices.UARTDevice
|
||||
|
||||
.. toggle-header::
|
||||
:header: **Show/hide example**
|
||||
|
||||
**Example: Read and write to a UART device.**
|
||||
|
||||
.. literalinclude:: ../../pybricks-projects/snippets/ev3/uart_basics/main.py
|
||||
|
||||
+1
-1
Submodule pybricks-projects updated: 028efa9c6c...c017248f43
Reference in New Issue
Block a user