Skip to content

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

License

Notifications You must be signed in to change notification settings

russhughes/thmi_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages