Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/russhughes/thmi_py

MicroPython display driver for the LILYGO T-HMI written in python.
https://github.com/russhughes/thmi_py

esp32-s3 lilygo st7789-display-driver st7789v t-hmi

Last synced: about 1 month ago
JSON representation

MicroPython display driver for the LILYGO T-HMI written in python.

Awesome Lists containing this project

README

        

Python T-HMI driver in MicroPython
==================================

This is a fork of devbis' st7789py_mpy module from
https://github.com/devbis/st7789py_mpy.

This driver adds support for:

- The T-HMI 8 bit parallel display
- Display rotation
- Hardware based scrolling
- Drawing text using 8 and 16 bit wide bitmap fonts with heights that are
multiples of 8. Included are 12 bitmap fonts derived from classic pc
BIOS text mode fonts.
- Drawing text using converted TrueType fonts.
- Drawing converted bitmaps

The driver is not fast but it is written in pure MicroPython. It is functional
but is also a work in progress. Documentation can be found in the docs
directory and online at https://penfold.owt.com/thmi_py/.

Examples
--------

See the examples directory for example programs that run on the T-HMI.
Some of the examples require additional modules to be available to run, see
the import lines in the examples source code.

Fonts
-----

See the subdirectories in the fonts directory for the converted font modules
used in the examples. These modules can be compiled using the mpy-cross
compiler before uploading to save memory.