kopia lustrzana https://github.com/russhughes/st7789py_mpy
27 wiersze
479 B
ReStructuredText
27 wiersze
479 B
ReStructuredText
.. _tiny_hello:
|
|
|
|
tiny_hello.py
|
|
=============
|
|
|
|
.. figure:: ../_static/tiny_hello.jpg
|
|
:align: center
|
|
|
|
Test text_font_converter on small displays.
|
|
|
|
Writes "Hello!" in a tiny font in random colors at random locations on the Display.
|
|
|
|
.. note:: This example requires the following modules:
|
|
|
|
.. hlist::
|
|
:columns: 3
|
|
|
|
- `st7789py`
|
|
- `tft_config`
|
|
- `vga1_8x8`
|
|
|
|
.. literalinclude:: ../../../examples/tiny_hello.py
|
|
:language: python
|
|
:linenos:
|
|
:lines: 1-
|
|
|