Skip to content

Fix lint issues and add license so CI builds. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Include sample example directly in the README.
  • Loading branch information
kbsriram committed Mar 31, 2024
commit cabbef5eb99c9f765cef8f383c2e6faa3ea8bd3d
12 changes: 9 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,15 @@ Or the following command to update an existing version:
Usage Example
=============

.. literalinclude:: ../examples/pio_uart_simpletest.py
:caption: examples/pio_uart_simpletest.py
:linenos:
.. code-block:: python

import board
import adafruit_pio_uart

uart = adafruit_pio_uart.UART(board.TX, board.RX)

uart.write(b"\x00")
print(uart.read(1))


Documentation
Expand Down