Python ST7789 driver for MicroPython
 
 
 
Go to file
russhughes fe2f827b86 Fix #1, minor refactoring 2021-12-23 00:38:39 -08:00
docs Sphinx source used to build docs 2021-08-12 08:54:15 -07:00
examples bitmap, truetype converters and methods, updated examples 2021-05-05 23:14:24 -07:00
fonts font clenup 2021-05-05 23:23:45 -07:00
lib Fix #1, minor refactoring 2021-12-23 00:38:39 -08:00
sphinx Sphinx source used to build docs 2021-08-12 08:54:15 -07:00
utils bitmap, truetype converters and methods, updated examples 2021-05-05 23:14:24 -07:00
.gitignore ignore vscode local .history 2021-12-23 00:35:05 -08:00
LICENSE first commit 2020-02-01 13:14:12 -08:00
README.md Update readme 2021-05-06 11:13:16 -07:00

README.md

Python ST7789 driver for MicroPython

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

This driver adds support for:

  • 320x240, 240x240 and 135x240 pixel displays
  • 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

This is a work in progress. Documentation can be found in the docs directory and at https://penfold.owt.com/st7789py.

Examples

See the examples directory for example programs that run on the LILYGO® TTGO T-Display.

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.