kopia lustrzana https://github.com/russhughes/st7789py_mpy
81 wiersze
1.8 KiB
ReStructuredText
81 wiersze
1.8 KiB
ReStructuredText
TTGO T-Display Examples
|
|
=======================
|
|
|
|
These examples run on the LilyGo TTGO-T-Display available from the usual
|
|
locations. See https://github.com/Xinyuan-LilyGO/TTGO-T-Display for more
|
|
information.
|
|
|
|
|
|
ttgo_tdisplay/lines.py
|
|
----------------------
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/lines.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
|
|
ttgo_tdisplay/hello.py
|
|
----------------------
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/hello.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
ttgo_tdisplay/feathers.py
|
|
-------------------------
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/feathers.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
|
|
ttgo_tdisplay/fonts.py
|
|
----------------------
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/fonts.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
|
|
ttgo_tdisplay/scroll.py
|
|
-----------------------
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/scroll.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
|
|
ttgo_tdisplay/toasters.py
|
|
-------------------------
|
|
|
|
Flying toasters sprite demo using bitmaps created from spritesheet using the imgtobitmap.py utility.
|
|
See the maketoast script in the utils directory for details. See the 320x240 toasters example for
|
|
a more advanced example that uses the sprites2bitmap utility and indexed bitmaps.
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/toasters/toasters.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
|
|
ttgo_tdisplay/chango.py
|
|
-----------------------
|
|
|
|
Test for font2bitmap converter for the driver.
|
|
See the font2bitmap program in the utils directory.
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/truetype/chango.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
|
|
ttgo_tdisplay/noto_fonts.py
|
|
---------------------------
|
|
|
|
Test for font2bitmap converter for the driver.
|
|
See the font2bitmap program in the utils directory.
|
|
|
|
.. literalinclude:: ../../examples/ttgo_tdisplay/truetype/noto_fonts.py
|
|
:linenos:
|
|
:language: python
|
|
|