Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/russhughes/thmi_py
- Owner: russhughes
- License: other
- Created: 2023-05-27T20:43:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-27T21:05:19.000Z (over 1 year ago)
- Last Synced: 2024-04-22T12:34:14.295Z (8 months ago)
- Topics: esp32-s3, lilygo, st7789-display-driver, st7789v, t-hmi
- Language: Python
- Homepage: https://penfold.owt.com/thmi_py/
- Size: 9.6 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - thmi_py - MicroPython display driver for the LILYGO T-HMI written in Python. (Libraries / Display)
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 bitmapsThe 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.