Python ST7789 driver for MicroPython
 
 
 
Go to file
PauloCardosoC 241e161513
Update st7789py_parallel.py
2023-02-01 15:16:34 -03:00
docs additional examples and doc update 2021-12-23 10:54:40 -08:00
examples Add examples for LILYGO TTGO T-Display RP2040 2022-01-13 18:59:14 +09:00
fonts font clenup 2021-05-05 23:23:45 -07:00
lib Update st7789py_parallel.py 2023-02-01 15:16:34 -03:00
sphinx additional examples and doc update 2021-12-23 10:54:40 -08:00
utils additional examples and doc update 2021-12-23 10:54:40 -08: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.md 2023-02-01 15:08:26 -03:00

README.md

Excelent micropython driver for st7789 module forked from: https://github.com/russhughes/st7789py_mpy

Started this because:

1 - My lack of experience to compile and develop fast modules in C for use in micropython

2 - Buy a I8080 (parallel 8 bits bus board) to try and learn.

Results: Fast micropython only driver for st7789 with 8 bit parallel bus, thanks to what i have learn with (https://github.com/HughMaingauche/ILI9341-parallel-TFT-driver-for-micropython).

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 and a generic 320x240 display connected to an ESP32.

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.