kopia lustrzana https://github.com/russhughes/st7789py_mpy
31 wiersze
547 B
ReStructuredText
31 wiersze
547 B
ReStructuredText
.. _../tft_configs/m5stack_core2:
|
|
|
|
M5STACK CORE2 320x240 (ILI9342)
|
|
===============================
|
|
|
|
|
|
|
|
tft_configs/m5stack_core2/tft_config.py
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
.. literalinclude:: ../../../tft_configs/m5stack_core2/tft_config.py
|
|
:language: python
|
|
:linenos:
|
|
:lines: 1-
|
|
|
|
|
|
tft_configs/m5stack_core2/tft_buttons.py
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
from machine import Pin
|
|
|
|
|
|
class Buttons:
|
|
|
|
.. literalinclude:: ../../../tft_configs/m5stack_core2/tft_buttons.py
|
|
:language: python
|
|
:linenos:
|
|
:lines: 1-
|
|
|