kopia lustrzana https://github.com/russhughes/st7789py_mpy
26 wiersze
435 B
ReStructuredText
26 wiersze
435 B
ReStructuredText
.. _boxlines:
|
|
|
|
boxlines.py
|
|
===========
|
|
|
|
.. figure:: ../_static/boxlines.jpg
|
|
:align: center
|
|
|
|
Test for lines and rectangles.
|
|
|
|
Draws lines and rectangles in random colors at random locations on the display.
|
|
|
|
.. note:: This example requires the following modules:
|
|
|
|
.. hlist::
|
|
:columns: 3
|
|
|
|
- `st7789py`
|
|
- `tft_config`
|
|
|
|
.. literalinclude:: ../../../examples/boxlines.py
|
|
:language: python
|
|
:linenos:
|
|
:lines: 1-
|
|
|