Skip to content
Snippets Groups Projects
Commit 77f1118c authored by TilCreator's avatar TilCreator
Browse files

Fix documentation formating

parent 7d6c0624
No related branches found
No related tags found
No related merge requests found
Pipeline #3698 passed
......@@ -147,17 +147,18 @@ class Display:
:param offset_y: Offset in y direction of the pixels
**Example:**
.. code-block:: python
data = b'\x00\x00\xF8\x00'
data = b'\\x00\\x00\\xF8\\x00'
# |--| x-position: 0
# |--| yposition: 0
# |------| color (rgb565): red
data += b'\x05\x00\x07\xE0'
data += b'\\x05\\x00\\x07\\xE0'
# |--| x-position: 1
# |--| yposition: 0
# |------| color (rgb565): green
data += b'\x02\x0f\x00\x1F'
data += b'\\x02\\x0f\\x00\\x1F'
# |--| x-position: 2
# |--| yposition: 15
# |------| color (rgb565): blue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment